| Index: cc/test/skia_common.cc
|
| diff --git a/cc/test/skia_common.cc b/cc/test/skia_common.cc
|
| index 13fdd6f0c69c4fccbfc64fe644904c6aa16f8690..64495e57bfeef6754aca770de6d29bb76cbd05eb 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;
|
| @@ -36,9 +36,10 @@ void DrawDisplayList(unsigned char* buffer,
|
| list->Raster(&canvas, NULL, gfx::Rect(), 1.0f);
|
| }
|
|
|
| -bool AreDisplayListDrawingResultsSame(const gfx::Rect& layer_rect,
|
| - scoped_refptr<DisplayItemList> list_a,
|
| - scoped_refptr<DisplayItemList> list_b) {
|
| +bool AreDisplayListDrawingResultsSame(
|
| + const gfx::Rect& layer_rect,
|
| + scoped_refptr<const DisplayItemList> list_a,
|
| + scoped_refptr<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]);
|
|
|