diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-03 05:05:25 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-03 05:05:25 +0000 |
commit | fc1bb1106477b8917ceff95c7c42492cb830fc29 (patch) | |
tree | ef08316bfc9c0f228fc66912bd77d811eef5cf84 /cc/resources/picture_layer_tiling_set.h | |
parent | 49a3bca742673e5cbbae2943a5197f41f6a78303 (diff) | |
download | chromium_src-fc1bb1106477b8917ceff95c7c42492cb830fc29.zip chromium_src-fc1bb1106477b8917ceff95c7c42492cb830fc29.tar.gz chromium_src-fc1bb1106477b8917ceff95c7c42492cb830fc29.tar.bz2 |
cc: Remove and rename PictureLayerTiling clone methods.
We don't actually "clone" a tiling at all, we just add tilings
at given scales on the twin layer. So change the verbage and
replace Clone() methods with AddTiling() methods.
R=enne
BUG=
Review URL: https://chromiumcodereview.appspot.com/14879003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198065 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resources/picture_layer_tiling_set.h')
-rw-r--r-- | cc/resources/picture_layer_tiling_set.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cc/resources/picture_layer_tiling_set.h b/cc/resources/picture_layer_tiling_set.h index ca6b849..716ef5e 100644 --- a/cc/resources/picture_layer_tiling_set.h +++ b/cc/resources/picture_layer_tiling_set.h @@ -20,11 +20,9 @@ class CC_EXPORT PictureLayerTilingSet { void SetClient(PictureLayerTilingClient* client); - // Shallow copies all data (except client and bounds from other). - void CloneAll( + void AddTilingsToMatchScales( const PictureLayerTilingSet& other, float minimum_contents_scale); - void Clone(const PictureLayerTiling* tiling); gfx::Size layer_bounds() const { return layer_bounds_; } |