diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-13 05:36:59 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-13 05:36:59 +0000 |
commit | def73e99ea8a41dd98d2ed0a885dbe8a6d9a26d2 (patch) | |
tree | 4efef05526813b300b2577cedb72cfb28121db07 /cc/scrollbar_layer.cc | |
parent | 5b3a8e0d883a0fb89faa1b23992c9dcaea9ea44d (diff) | |
download | chromium_src-def73e99ea8a41dd98d2ed0a885dbe8a6d9a26d2.zip chromium_src-def73e99ea8a41dd98d2ed0a885dbe8a6d9a26d2.tar.gz chromium_src-def73e99ea8a41dd98d2ed0a885dbe8a6d9a26d2.tar.bz2 |
cc: Chromify ContentsScalingLayer and test
R=danakj@chromium.org
BUG=none
Review URL: https://chromiumcodereview.appspot.com/12808002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187791 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/scrollbar_layer.cc')
-rw-r--r-- | cc/scrollbar_layer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/scrollbar_layer.cc b/cc/scrollbar_layer.cc index 3d83aeb..9debbf9 100644 --- a/cc/scrollbar_layer.cc +++ b/cc/scrollbar_layer.cc @@ -77,7 +77,7 @@ float ScrollbarLayer::ClampScaleToMaxTextureSize(float scale) { // If the scaled content_bounds() is bigger than the max texture size of the // device, we need to clamp it by rescaling, since content_bounds() is used // below to set the texture size. - gfx::Size scaled_bounds = computeContentBoundsForScale(scale, scale); + gfx::Size scaled_bounds = ComputeContentBoundsForScale(scale, scale); if (scaled_bounds.width() > MaxTextureSize() || scaled_bounds.height() > MaxTextureSize()) { if (scaled_bounds.width() > scaled_bounds.height()) |