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

Unified Diff: cc/test/skia_common.cc

Issue 31613002: Update unit tests after SkFlattenable::getFactory const-ification. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 2 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') | skia/ext/lazy_pixel_ref_utils_unittest.cc » ('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 67c72f47c3bce4ec58ebadf6f849715120bee198..49c984dcc25685262151e25f75409ba784023fba 100644
--- a/cc/test/skia_common.cc
+++ b/cc/test/skia_common.cc
@@ -17,7 +17,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();
@@ -36,7 +36,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();
« no previous file with comments | « cc/test/skia_common.h ('k') | skia/ext/lazy_pixel_ref_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698