Index: cc/trees/layer_tree_host_pixeltest_tiles.cc |
diff --git a/cc/trees/layer_tree_host_pixeltest_tiles.cc b/cc/trees/layer_tree_host_pixeltest_tiles.cc |
index f0dcb95a0b77b7f128df3d8a34365880fac88251..e2fc6d64670c09f16622fa0da0d088217aec0858 100644 |
--- a/cc/trees/layer_tree_host_pixeltest_tiles.cc |
+++ b/cc/trees/layer_tree_host_pixeltest_tiles.cc |
@@ -113,7 +113,7 @@ class BlueYellowClient : public ContentLayerClient { |
PaintRecorder recorder; |
PaintCanvas* canvas = |
- recorder.beginRecording(gfx::RectToSkRect(gfx::Rect(size_))); |
+ recorder.beginRecording(gfx::RectToSkRect(PaintableRegion())); |
gfx::Rect top(0, 0, size_.width(), size_.height() / 2); |
gfx::Rect bottom(0, size_.height() / 2, size_.width(), size_.height() / 2); |
@@ -129,7 +129,8 @@ class BlueYellowClient : public ContentLayerClient { |
canvas->drawRect(gfx::RectToSkRect(yellow_rect), flags); |
display_list->CreateAndAppendDrawingItem<DrawingDisplayItem>( |
- PaintableRegion(), recorder.finishRecordingAsPicture()); |
+ PaintableRegion(), recorder.finishRecordingAsPicture(), |
+ gfx::RectToSkRect(PaintableRegion())); |
display_list->Finalize(); |
return display_list; |
} |