Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3885)

Unified Diff: cc/resources/picture_layer_tiling_set.h

Issue 142863008: Revert of [#7] Pass gfx structs by const ref (gfx::Size) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/picture_layer_tiling.cc ('k') | cc/resources/picture_layer_tiling_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_layer_tiling_set.h
diff --git a/cc/resources/picture_layer_tiling_set.h b/cc/resources/picture_layer_tiling_set.h
index bff3bd67208347d3fd58481e6de8eeba793f8a4f..fe19d76bcbaff7fcffa2fce821ab4d1d3ffd92eb 100644
--- a/cc/resources/picture_layer_tiling_set.h
+++ b/cc/resources/picture_layer_tiling_set.h
@@ -15,7 +15,7 @@
class CC_EXPORT PictureLayerTilingSet {
public:
PictureLayerTilingSet(PictureLayerTilingClient* client,
- const gfx::Size& layer_bounds);
+ gfx::Size layer_bounds);
~PictureLayerTilingSet();
void SetClient(PictureLayerTilingClient* client);
@@ -27,7 +27,7 @@
// tilings to |new_layer_bounds|.
void SyncTilings(
const PictureLayerTilingSet& other,
- const gfx::Size& new_layer_bounds,
+ gfx::Size new_layer_bounds,
const Region& layer_invalidation,
float minimum_contents_scale);
@@ -56,11 +56,11 @@
void UpdateTilePriorities(
WhichTree tree,
- const gfx::Size& device_viewport,
+ gfx::Size device_viewport,
const gfx::Rect& viewport_in_content_space,
const gfx::Rect& visible_content_rect,
- const gfx::Size& last_layer_bounds,
- const gfx::Size& current_layer_bounds,
+ gfx::Size last_layer_bounds,
+ gfx::Size current_layer_bounds,
float last_layer_contents_scale,
float current_layer_contents_scale,
const gfx::Transform& last_screen_transform,
« no previous file with comments | « cc/resources/picture_layer_tiling.cc ('k') | cc/resources/picture_layer_tiling_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698