summaryrefslogtreecommitdiffstats
path: root/cc/picture_layer_tiling_set.h
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-15 13:33:09 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-15 13:33:09 +0000
commitaf7c44e7ba7793758573551e379685d12adcb346 (patch)
tree8a44112c6fca587ff7ea41e91881d77276e9fb62 /cc/picture_layer_tiling_set.h
parente044f00b55cb2f2ca510cabd39484cabcbf8fb66 (diff)
downloadchromium_src-af7c44e7ba7793758573551e379685d12adcb346.zip
chromium_src-af7c44e7ba7793758573551e379685d12adcb346.tar.gz
chromium_src-af7c44e7ba7793758573551e379685d12adcb346.tar.bz2
cc: Fix up const reference argument passing for UpdateTilePriorities.
gfx::Size should be passed by value, gfx::RectF by reference. Don't use const for things passed by value. R=enne BUG=176311 Review URL: https://chromiumcodereview.appspot.com/12256042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182695 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/picture_layer_tiling_set.h')
-rw-r--r--cc/picture_layer_tiling_set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/picture_layer_tiling_set.h b/cc/picture_layer_tiling_set.h
index ef059ab..de8c390 100644
--- a/cc/picture_layer_tiling_set.h
+++ b/cc/picture_layer_tiling_set.h
@@ -49,7 +49,7 @@ class CC_EXPORT PictureLayerTilingSet {
void UpdateTilePriorities(
WhichTree tree,
- const gfx::Size& device_viewport,
+ gfx::Size device_viewport,
gfx::Rect viewport_in_content_space,
gfx::Size last_layer_bounds,
gfx::Size current_layer_bounds,