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

Unified Diff: cc/test/skia_common.cc

Issue 1982893002: [blimp] Add SkPicture caching support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from vmpstr, including adding //cc/blimp Created 4 years, 6 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/skia_common.h ('k') | cc/trees/layer_tree_host.h » ('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 13fdd6f0c69c4fccbfc64fe644904c6aa16f8690..980fc4b2b82492c369260dd94b2d7f23202ef361 100644
--- a/cc/test/skia_common.cc
+++ b/cc/test/skia_common.cc
@@ -26,7 +26,7 @@ class TestImageGenerator : public SkImageGenerator {
void DrawDisplayList(unsigned char* buffer,
const gfx::Rect& layer_rect,
- scoped_refptr<DisplayItemList> list) {
+ scoped_refptr<const DisplayItemList> list) {
SkImageInfo info =
SkImageInfo::MakeN32Premul(layer_rect.width(), layer_rect.height());
SkBitmap bitmap;
@@ -37,8 +37,8 @@ void DrawDisplayList(unsigned char* buffer,
}
bool AreDisplayListDrawingResultsSame(const gfx::Rect& layer_rect,
- scoped_refptr<DisplayItemList> list_a,
- scoped_refptr<DisplayItemList> list_b) {
+ const DisplayItemList* list_a,
+ const DisplayItemList* list_b) {
const size_t pixel_size = 4 * layer_rect.size().GetArea();
std::unique_ptr<unsigned char[]> pixels_a(new unsigned char[pixel_size]);
« no previous file with comments | « cc/test/skia_common.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698