From 22f200a767dd1804cfc20cc6bda867eea9448ada Mon Sep 17 00:00:00 2001 From: "mkosiba@chromium.org" Date: Wed, 9 Oct 2013 18:08:29 +0000 Subject: Use total page scale in the LayerScrollOffsetDelegate. In order for the LayerScrollOffsetDelegate to see the most up to date pageScale we need to use the total page scale rather than just the value that was last synced with the main thread. BUG=None TEST=cc_unittests R=aelias@chromium.org, joth@chromium.org, yfriedman@chromium.org Review URL: https://codereview.chromium.org/26274003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227763 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/input/layer_scroll_offset_delegate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cc/input') diff --git a/cc/input/layer_scroll_offset_delegate.h b/cc/input/layer_scroll_offset_delegate.h index 805bbfb..54a11c9 100644 --- a/cc/input/layer_scroll_offset_delegate.h +++ b/cc/input/layer_scroll_offset_delegate.h @@ -40,7 +40,7 @@ class LayerScrollOffsetDelegate { // This is called by the compositor to notify the delegate what is the current // page scale factor is. - virtual void SetPageScaleFactor(float page_scale_factor) = 0; + virtual void SetTotalPageScaleFactor(float page_scale_factor) = 0; // This is called by the compositor to notify the delegate what is the layer's // scrollable size is. -- cgit v1.1