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

Unified Diff: cc/test/skia_common.cc

Issue 2225563002: Reland "Raster display item lists via a visual rect RTree." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to head. Created 4 years, 4 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
« no previous file with comments | « cc/test/fake_content_layer_client.cc ('k') | cc/test/solid_color_content_layer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/skia_common.cc
diff --git a/cc/test/skia_common.cc b/cc/test/skia_common.cc
index d7ffe2f0948728b5f8896c4b403897bbc381cd8a..ec399087f54e8ee19f2722150eec95d0a12bdc7d 100644
--- a/cc/test/skia_common.cc
+++ b/cc/test/skia_common.cc
@@ -49,7 +49,7 @@ void DrawDisplayList(unsigned char* buffer,
bitmap.installPixels(info, buffer, info.minRowBytes());
SkCanvas canvas(bitmap);
canvas.clipRect(gfx::RectToSkRect(layer_rect));
- list->Raster(&canvas, NULL, gfx::Rect(), 1.0f);
+ list->Raster(&canvas, NULL, layer_rect, 1.0f);
}
bool AreDisplayListDrawingResultsSame(const gfx::Rect& layer_rect,
« no previous file with comments | « cc/test/fake_content_layer_client.cc ('k') | cc/test/solid_color_content_layer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698