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

Unified Diff: Source/platform/graphics/ReplayingCanvas.cpp

Issue 777413004: clear() is now an alias for drawPaint, and will be deprecated as a virtual (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 | « Source/platform/graphics/ReplayingCanvas.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/ReplayingCanvas.cpp
diff --git a/Source/platform/graphics/ReplayingCanvas.cpp b/Source/platform/graphics/ReplayingCanvas.cpp
index e6ebdb53012ab45287c4291d5f400a4692d8ef27..669447c95732a2b655a246e02dc18971747e2cf1 100644
--- a/Source/platform/graphics/ReplayingCanvas.cpp
+++ b/Source/platform/graphics/ReplayingCanvas.cpp
@@ -83,12 +83,6 @@ bool ReplayingCanvas::abortDrawing()
return m_abortDrawing;
}
-void ReplayingCanvas::clear(SkColor color)
-{
- AutoReplayer replayer(this);
- this->SkCanvas::clear(color);
-}
-
void ReplayingCanvas::drawPaint(const SkPaint& paint)
{
AutoReplayer replayer(this);
« no previous file with comments | « Source/platform/graphics/ReplayingCanvas.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698