Index: src/core/SkDevice.cpp |
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp |
index bc6c892079622f956f00441d7b153c644974dd25..570cea45e3d7b265d8ebddc364525fa63dacdca6 100644 |
--- a/src/core/SkDevice.cpp |
+++ b/src/core/SkDevice.cpp |
@@ -90,6 +90,11 @@ SkSurface* SkBaseDevice::newSurface(const SkImageInfo&, const SkSurfaceProps&) { |
const void* SkBaseDevice::peekPixels(SkImageInfo*, size_t*) { return NULL; } |
+// DEPRECATED : remove when chrome subclass have been updated to not override clear() |
+void SkBaseDevice::clear(SkColor color) { |
+ SkFAIL("SkDevice::clear() should not be called"); |
+} |
+ |
void SkBaseDevice::drawDRRect(const SkDraw& draw, const SkRRect& outer, |
const SkRRect& inner, const SkPaint& paint) { |
SkPath path; |