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

Unified Diff: cc/trees/layer_tree_host_pixeltest_masks.cc

Issue 1077033004: cc: Make DisplayItemList::Append replay into an SkPicture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 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/trees/layer_tree_host_pixeltest_masks.cc
diff --git a/cc/trees/layer_tree_host_pixeltest_masks.cc b/cc/trees/layer_tree_host_pixeltest_masks.cc
index 97765bda71ae8d7797979698da341f516322a802..9358e101f0c128fa88a1d538428bd8c52c498d22 100644
--- a/cc/trees/layer_tree_host_pixeltest_masks.cc
+++ b/cc/trees/layer_tree_host_pixeltest_masks.cc
@@ -50,7 +50,7 @@ class MaskContentLayerClient : public ContentLayerClient {
const gfx::Rect& clip,
PaintingControlSetting picture_control) override {
NOTIMPLEMENTED();
- return DisplayItemList::Create();
+ return DisplayItemList::Create(clip);
}
private:
@@ -307,7 +307,7 @@ class CheckerContentLayerClient : public ContentLayerClient {
const gfx::Rect& clip,
PaintingControlSetting picture_control) override {
NOTIMPLEMENTED();
- return DisplayItemList::Create();
+ return DisplayItemList::Create(clip);
}
private:
@@ -338,7 +338,7 @@ class CircleContentLayerClient : public ContentLayerClient {
const gfx::Rect& clip,
PaintingControlSetting picture_control) override {
NOTIMPLEMENTED();
- return DisplayItemList::Create();
+ return DisplayItemList::Create(clip);
}
private:

Powered by Google App Engine
This is Rietveld 408576698