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

Unified Diff: cc/test/skia_common.cc

Issue 1484163002: 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 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
Index: cc/test/skia_common.cc
diff --git a/cc/test/skia_common.cc b/cc/test/skia_common.cc
index 22d546cc75573d47bbe2a92b43a9194f7365eb2d..5ebc016e0ccc3d53ae484e693dbb16f4d4555200 100644
--- a/cc/test/skia_common.cc
+++ b/cc/test/skia_common.cc
@@ -32,7 +32,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);
}
skia::RefPtr<SkImage> CreateDiscardableImage(const gfx::Size& size) {

Powered by Google App Engine
This is Rietveld 408576698