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

Unified Diff: Source/platform/graphics/InterceptingCanvas.h

Issue 1151933002: Remove Skia comment API overrides (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 6 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 | « no previous file | Source/platform/graphics/LoggingCanvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/InterceptingCanvas.h
diff --git a/Source/platform/graphics/InterceptingCanvas.h b/Source/platform/graphics/InterceptingCanvas.h
index 608ddc6bdba475263e1abd3824c5e2148749d360..6f575d7c1f4283f983b9c1748475a8513b0d197b 100644
--- a/Source/platform/graphics/InterceptingCanvas.h
+++ b/Source/platform/graphics/InterceptingCanvas.h
@@ -81,9 +81,6 @@ protected:
void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) override = 0;
void onDrawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[],
const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint&) override = 0;
- void beginCommentGroup(const char* description) override = 0;
- void addComment(const char* keyword, const char* value) override = 0;
- void endCommentGroup() override = 0;
void onDrawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint&) override = 0;
void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, const SkPaint&) override = 0;
@@ -197,24 +194,6 @@ protected:
this->SkCanvas::onDrawVertices(vmode, vertexCount, vertices, texs, colors, xmode, indices, indexCount, paint);
}
- void beginCommentGroup(const char* description) override
- {
- Interceptor interceptor(this);
- this->SkCanvas::beginCommentGroup(description);
- }
-
- void addComment(const char* keyword, const char* value) override
- {
- Interceptor interceptor(this);
- this->SkCanvas::addComment(keyword, value);
- }
-
- void endCommentGroup() override
- {
- Interceptor interceptor(this);
- this->SkCanvas::endCommentGroup();
- }
-
void onDrawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint& paint) override
{
Interceptor interceptor(this);
« no previous file with comments | « no previous file | Source/platform/graphics/LoggingCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698