Index: cc/test/skia_common.h |
diff --git a/cc/test/skia_common.h b/cc/test/skia_common.h |
index 0b2f84e28891f58e9440c46fb9deb9ef905c3c96..b8a9390733c191fb9de1e4976f96897bcbf1d6b7 100644 |
--- a/cc/test/skia_common.h |
+++ b/cc/test/skia_common.h |
@@ -24,7 +24,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( |
@@ -39,7 +39,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; |