summaryrefslogtreecommitdiffstats
path: root/cc/input
diff options
context:
space:
mode:
authormkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-09 18:08:29 +0000
committermkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-09 18:08:29 +0000
commit22f200a767dd1804cfc20cc6bda867eea9448ada (patch)
treead14127e67ce5660a4e6d8ea8c9b28916606eef7 /cc/input
parent342caad900914bdc0025c680a5acbcb52b68216a (diff)
downloadchromium_src-22f200a767dd1804cfc20cc6bda867eea9448ada.zip
chromium_src-22f200a767dd1804cfc20cc6bda867eea9448ada.tar.gz
chromium_src-22f200a767dd1804cfc20cc6bda867eea9448ada.tar.bz2
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
Diffstat (limited to 'cc/input')
-rw-r--r--cc/input/layer_scroll_offset_delegate.h2
1 files changed, 1 insertions, 1 deletions
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.