From 109a23d64ff9cf210e6b0aa8940b4fcea3f05a97 Mon Sep 17 00:00:00 2001 From: fmalita Date: Mon, 15 Jun 2015 13:15:31 -0700 Subject: Remove the SkCanvas comment API No longer used in Chromium/Blink. R=reed@google.com,robertphillips@google.com,mtklein@google.com Review URL: https://codereview.chromium.org/1153593003 --- gm/rects.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gm/rects.cpp') diff --git a/gm/rects.cpp b/gm/rects.cpp index 8fb113d76f..c4d5880e14 100644 --- a/gm/rects.cpp +++ b/gm/rects.cpp @@ -252,14 +252,10 @@ protected: } void onDraw(SkCanvas* canvas) override { - SkAutoCommentBlock acb(canvas, "onDraw"); - canvas->translate(20 * SK_Scalar1, 20 * SK_Scalar1); int testCount = 0; - canvas->addComment("Test", "Various Paints"); - for (int i = 0; i < fPaints.count(); ++i) { for (int j = 0; j < fRects.count(); ++j, ++testCount) { canvas->save(); @@ -269,8 +265,6 @@ protected: } } - canvas->addComment("Test", "Matrices"); - SkPaint paint; paint.setColor(SK_ColorWHITE); paint.setAntiAlias(true); -- cgit v1.2.3