From 63fbd8d8ece5f49f7f9b8cac29b9aba73d5d7d23 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 5 Jul 2017 14:10:36 -0400 Subject: Remove PNM_SCROLLWINDOW and replace with direct method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This CL removes PNM_SCROLLWINDOW from OnNotify and replaces it with a call to ScrollWindowVerticallyTo. Change-Id: I62f6da60cdcd4926b0c74b980b3855a28a834411 Reviewed-on: https://pdfium-review.googlesource.com/7253 Commit-Queue: dsinclair Reviewed-by: Nicolás Peña --- 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 f407dfc1e9..51c30a5f8c 100644 --- a/fpdfsdk/pdfwindow/cpwl_wnd.cpp +++ b/fpdfsdk/pdfwindow/cpwl_wnd.cpp @@ -431,6 +431,8 @@ void CPWL_Wnd::SetScrollInfo(const PWL_SCROLL_INFO& info) {} void CPWL_Wnd::SetScrollPosition(float pos) {} +void CPWL_Wnd::ScrollWindowVertically(float pos) {} + bool CPWL_Wnd::IsValid() const { return m_bCreated; } -- cgit v1.2.3