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

Unified Diff: Source/platform/graphics/LoggingCanvas.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/LoggingCanvas.h ('k') | Source/platform/graphics/ProfilingCanvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/LoggingCanvas.cpp
diff --git a/Source/platform/graphics/LoggingCanvas.cpp b/Source/platform/graphics/LoggingCanvas.cpp
index 6d3e2e4b6cda07a4a6a3081803ac11143b12ba0b..f4d37859a9e137836c1ae58bee4c6aca41f355f4 100644
--- a/Source/platform/graphics/LoggingCanvas.cpp
+++ b/Source/platform/graphics/LoggingCanvas.cpp
@@ -84,13 +84,6 @@ LoggingCanvas::LoggingCanvas(int width, int height) : InterceptingCanvas(width,
m_log = JSONArray::create();
}
-void LoggingCanvas::clear(SkColor color)
-{
- AutoLogger logger(this);
- logger.logItemWithParams("clear")->setString("color", stringForSkColor(color));
- this->SkCanvas::clear(color);
-}
-
void LoggingCanvas::drawPaint(const SkPaint& paint)
{
AutoLogger logger(this);
« no previous file with comments | « Source/platform/graphics/LoggingCanvas.h ('k') | Source/platform/graphics/ProfilingCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698