From fc1bb1106477b8917ceff95c7c42492cb830fc29 Mon Sep 17 00:00:00 2001 From: "danakj@chromium.org" Date: Fri, 3 May 2013 05:05:25 +0000 Subject: 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 --- cc/resources/picture_layer_tiling_set.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to '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 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_; } -- cgit v1.1