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 /tests/RecorderTest.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 'tests/RecorderTest.cpp')
-rw-r--r-- | tests/RecorderTest.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/RecorderTest.cpp b/tests/RecorderTest.cpp index e67de58acb..829fe3e229 100644 --- a/tests/RecorderTest.cpp +++ b/tests/RecorderTest.cpp @@ -50,25 +50,6 @@ DEF_TEST(Recorder, r) { REPORTER_ASSERT(r, 1 == tally.count<SkRecords::DrawRect>()); } -// All of Skia will work fine without support for comment groups, but -// Chrome's inspector can break. This serves as a simple regression test. -DEF_TEST(Recorder_CommentGroups, r) { - SkRecord record; - SkRecorder recorder(&record, 1920, 1080); - - recorder.beginCommentGroup("test"); - recorder.addComment("foo", "bar"); - recorder.addComment("baz", "quux"); - recorder.endCommentGroup(); - - Tally tally; - tally.apply(record); - - REPORTER_ASSERT(r, 1 == tally.count<SkRecords::BeginCommentGroup>()); - REPORTER_ASSERT(r, 2 == tally.count<SkRecords::AddComment>()); - REPORTER_ASSERT(r, 1 == tally.count<SkRecords::EndCommentGroup>()); -} - // Regression test for leaking refs held by optional arguments. DEF_TEST(Recorder_RefLeaking, r) { // We use SaveLayer to test: |