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]); |