From 7e0336e278d69f1d66967db7375c75322da55d69 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 5 Jul 2017 09:39:50 -0400 Subject: Move PNM_SETSCROLLPOS to custom method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This CL splits PNM_SETSCROLLPOS out of OnNotify and places into a method which is called as needed. Change-Id: Ic144bc30bca57869f0679bef40e07b6a130e944c Reviewed-on: https://pdfium-review.googlesource.com/7252 Reviewed-by: Nicolás Peña Commit-Queue: dsinclair --- fpdfsdk/pdfwindow/cpwl_wnd.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fpdfsdk/pdfwindow/cpwl_wnd.cpp') diff --git a/fpdfsdk/pdfwindow/cpwl_wnd.cpp b/fpdfsdk/pdfwindow/cpwl_wnd.cpp index 8ac7d48cba..f407dfc1e9 100644 --- a/fpdfsdk/pdfwindow/cpwl_wnd.cpp +++ b/fpdfsdk/pdfwindow/cpwl_wnd.cpp @@ -429,6 +429,8 @@ void CPWL_Wnd::OnNotify(CPWL_Wnd* pWnd, void CPWL_Wnd::SetScrollInfo(const PWL_SCROLL_INFO& info) {} +void CPWL_Wnd::SetScrollPosition(float pos) {} + bool CPWL_Wnd::IsValid() const { return m_bCreated; } -- cgit v1.2.3