| Index: skia/ext/lazy_pixel_ref_utils_unittest.cc
|
| diff --git a/skia/ext/lazy_pixel_ref_utils_unittest.cc b/skia/ext/lazy_pixel_ref_utils_unittest.cc
|
| index c3a2e2725e387b461b955039c98519e3e59611df..054613341fd13b5e09faa65d2f0a1d478abd064f 100644
|
| --- a/skia/ext/lazy_pixel_ref_utils_unittest.cc
|
| +++ b/skia/ext/lazy_pixel_ref_utils_unittest.cc
|
| @@ -29,7 +29,7 @@ class TestPixelRef : public SkPixelRef {
|
| TestPixelRef(int width, int height);
|
| virtual ~TestPixelRef();
|
|
|
| - virtual SkFlattenable::Factory getFactory() OVERRIDE;
|
| + virtual SkFlattenable::Factory getFactory() const OVERRIDE;
|
| virtual void* onLockPixels(SkColorTable** color_table) OVERRIDE;
|
| virtual void onUnlockPixels() OVERRIDE {}
|
| virtual SkPixelRef* deepCopy(SkBitmap::Config config, const SkIRect* subset)
|
| @@ -44,7 +44,7 @@ class TestLazyPixelRef : public skia::LazyPixelRef {
|
| TestLazyPixelRef(int width, int height);
|
| virtual ~TestLazyPixelRef();
|
|
|
| - virtual SkFlattenable::Factory getFactory() OVERRIDE;
|
| + virtual SkFlattenable::Factory getFactory() const OVERRIDE;
|
| virtual void* onLockPixels(SkColorTable** color_table) OVERRIDE;
|
| virtual void onUnlockPixels() OVERRIDE {}
|
| virtual bool PrepareToDecode(const PrepareParams& params) OVERRIDE;
|
| @@ -94,7 +94,7 @@ TestPixelRef::TestPixelRef(int width, int height)
|
|
|
| TestPixelRef::~TestPixelRef() {}
|
|
|
| -SkFlattenable::Factory TestPixelRef::getFactory() { return NULL; }
|
| +SkFlattenable::Factory TestPixelRef::getFactory() const { return NULL; }
|
|
|
| void* TestPixelRef::onLockPixels(SkColorTable** color_table) {
|
| return pixels_.get();
|
| @@ -111,7 +111,7 @@ TestLazyPixelRef::TestLazyPixelRef(int width, int height)
|
|
|
| TestLazyPixelRef::~TestLazyPixelRef() {}
|
|
|
| -SkFlattenable::Factory TestLazyPixelRef::getFactory() { return NULL; }
|
| +SkFlattenable::Factory TestLazyPixelRef::getFactory() const { return NULL; }
|
|
|
| void* TestLazyPixelRef::onLockPixels(SkColorTable** color_table) {
|
| return pixels_.get();
|
|
|