diff options
author | reed <reed@chromium.org> | 2014-12-21 11:03:36 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-21 11:03:36 -0800 |
commit | ec57b54ac7546f9db7c5b8610ef4f3690833ca83 (patch) | |
tree | ac2ca4ce281a45ad1ae18080ee759b2dff9f17b4 /src/core | |
parent | ca32da7533ed86fbbe50e078c751b0f1c198bb5b (diff) |
remove dead SK_SUPPORT_LEGACY_DEVICE_CLEAR code
BUG=skia:
TBR=robertphilips@google.com
Review URL: https://codereview.chromium.org/807083003
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkDevice.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp index f428851248..bc6c892079 100644 --- a/src/core/SkDevice.cpp +++ b/src/core/SkDevice.cpp @@ -90,13 +90,6 @@ SkSurface* SkBaseDevice::newSurface(const SkImageInfo&, const SkSurfaceProps&) { const void* SkBaseDevice::peekPixels(SkImageInfo*, size_t*) { return NULL; } -#ifdef SK_SUPPORT_LEGACY_DEVICE_CLEAR -// DEPRECATED : remove when chrome subclass have been updated to not override clear() -void SkBaseDevice::clear(SkColor color) { - SkFAIL("SkDevice::clear() should not be called"); -} -#endif - void SkBaseDevice::drawDRRect(const SkDraw& draw, const SkRRect& outer, const SkRRect& inner, const SkPaint& paint) { SkPath path; |