From c4fda92f45b9649f233a5b8636618a6431aa59cb Mon Sep 17 00:00:00 2001 From: reed Date: Fri, 2 Jan 2015 06:39:51 -0800 Subject: remove unused drawData BUG=skia: Review URL: https://codereview.chromium.org/830083002 --- tests/RecorderTest.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'tests/RecorderTest.cpp') 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()); } -// 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()); -} - // Regression test for leaking refs held by optional arguments. DEF_TEST(Recorder_RefLeaking, r) { // We use SaveLayer to test: -- cgit v1.2.3