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

Unified Diff: cc/test/fake_picture_layer_impl.h

Issue 235753002: cc: Give TilingData a Rect instead of a Size (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
Index: cc/test/fake_picture_layer_impl.h
diff --git a/cc/test/fake_picture_layer_impl.h b/cc/test/fake_picture_layer_impl.h
index 3d8f93f0b51d0af2832e6bc7c4dc5852adfee48a..f87206166825eae54cd0f12b4bdf8b411372358c 100644
--- a/cc/test/fake_picture_layer_impl.h
+++ b/cc/test/fake_picture_layer_impl.h
@@ -18,8 +18,10 @@ class FakePictureLayerImpl : public PictureLayerImpl {
}
static scoped_ptr<FakePictureLayerImpl> CreateWithPile(
- LayerTreeImpl* tree_impl, int id, scoped_refptr<PicturePileImpl> pile) {
- return make_scoped_ptr(new FakePictureLayerImpl(tree_impl, id, pile));
+ LayerTreeImpl* tree_impl, int id, scoped_refptr<PicturePileImpl> pile,
+ const gfx::Size& layer_bounds) {
+ return make_scoped_ptr(new FakePictureLayerImpl(
+ tree_impl, id, pile, layer_bounds));
}
virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl)
@@ -68,7 +70,8 @@ class FakePictureLayerImpl : public PictureLayerImpl {
FakePictureLayerImpl(
LayerTreeImpl* tree_impl,
int id,
- scoped_refptr<PicturePileImpl> pile);
+ scoped_refptr<PicturePileImpl> pile,
+ const gfx::Size& layer_bounds);
FakePictureLayerImpl(LayerTreeImpl* tree_impl, int id);
private:

Powered by Google App Engine
This is Rietveld 408576698