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

Unified Diff: cc/layers/picture_layer_unittest.cc

Issue 1489713004: Remove the clip parameter from ContentLayerClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clipremoval
Patch Set: Created 5 years 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/layers/picture_image_layer_unittest.cc ('k') | cc/playback/display_list_recording_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_unittest.cc
diff --git a/cc/layers/picture_layer_unittest.cc b/cc/layers/picture_layer_unittest.cc
index 4f61722205207053e7f46d66f1dae90f6aff9c3f..97751fde77ac5f869a835ff6044348c928f1b378 100644
--- a/cc/layers/picture_layer_unittest.cc
+++ b/cc/layers/picture_layer_unittest.cc
@@ -27,9 +27,8 @@ class MockContentLayerClient : public ContentLayerClient {
public:
gfx::Rect PaintableRegion() override { return gfx::Rect(); }
scoped_refptr<DisplayItemList> PaintContentsToDisplayList(
- const gfx::Rect& clip,
PaintingControlSetting picture_control) override {
- return DisplayItemList::Create(clip, DisplayItemListSettings());
+ return DisplayItemList::Create(gfx::Rect(), DisplayItemListSettings());
}
bool FillsBoundsCompletely() const override { return false; };
size_t GetApproximateUnsharedMemoryUsage() const override { return 0; }
« no previous file with comments | « cc/layers/picture_image_layer_unittest.cc ('k') | cc/playback/display_list_recording_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698