diff options
author | reed <reed@chromium.org> | 2015-01-02 06:39:51 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-02 06:39:51 -0800 |
commit | c4fda92f45b9649f233a5b8636618a6431aa59cb (patch) | |
tree | 18eab2beddd77308e51e6aba0fa152e883d7b1b0 /tests/RecorderTest.cpp | |
parent | 7c339ae1e362e9f02cdfb9b32007f143dec0bc0e (diff) |
remove unused drawData
BUG=skia:
Review URL: https://codereview.chromium.org/830083002
Diffstat (limited to 'tests/RecorderTest.cpp')
-rw-r--r-- | tests/RecorderTest.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/RecorderTest.cpp b/tests/RecorderTest.cpp index e0abacef38..4fac1af58c 100644 --- a/tests/RecorderTest.cpp +++ b/tests/RecorderTest.cpp @@ -69,20 +69,6 @@ DEF_TEST(Recorder_CommentGroups, r) { REPORTER_ASSERT(r, 1 == tally.count<SkRecords::EndCommentGroup>()); } -// DrawData is similar to comment groups. It doesn't affect drawing, but -// it's a pass-through we provide to the client. Again, a simple reg. test. -DEF_TEST(Recorder_DrawData, r) { - SkRecord record; - SkRecorder recorder(&record, 100, 100); - - const char* data = "This sure is some data, eh?"; - recorder.drawData(data, strlen(data)); - - Tally tally; - tally.apply(record); - REPORTER_ASSERT(r, 1 == tally.count<SkRecords::DrawData>()); -} - // Regression test for leaking refs held by optional arguments. DEF_TEST(Recorder_RefLeaking, r) { // We use SaveLayer to test: |