diff options
author | fmalita <fmalita@chromium.org> | 2015-06-15 13:15:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-15 13:15:31 -0700 |
commit | 109a23d64ff9cf210e6b0aa8940b4fcea3f05a97 (patch) | |
tree | 3e64cbec385ca708853c135515af6f6247dbdd58 /gm/rects.cpp | |
parent | e0ef4a71570f5c7ef60004fc86adad072e1f8719 (diff) |
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
Diffstat (limited to 'gm/rects.cpp')
-rw-r--r-- | gm/rects.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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); |