From db539905bb3af7bd05839a7d2558e97d5cb51ca2 Mon Sep 17 00:00:00 2001 From: robertphillips Date: Tue, 1 Jul 2014 08:47:04 -0700 Subject: Rename SkPicturePlayback to SkPictureData This is in preparation for splitting the playback portion of the new SkPictureData class into a new SkPicturePlayback class. R=reed@google.com, mtklein@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/362773002 --- tests/PictureTest.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp index 8f0fb20c75..61f6d03cfe 100644 --- a/tests/PictureTest.cpp +++ b/tests/PictureTest.cpp @@ -662,15 +662,15 @@ static void test_gatherpixelrefsandrects(skiatest::Reporter* reporter) { } #ifdef SK_DEBUG -// Ensure that deleting SkPicturePlayback does not assert. Asserts only fire in debug mode, so only -// run in debug mode. -static void test_deleting_empty_playback() { +// Ensure that deleting an empty SkPicture does not assert. Asserts only fire +// in debug mode, so only run in debug mode. +static void test_deleting_empty_picture() { SkPictureRecorder recorder; // Creates an SkPictureRecord recorder.beginRecording(0, 0); - // Turns that into an SkPicturePlayback + // Turns that into an SkPicture SkAutoTUnref picture(recorder.endRecording()); - // Deletes the old SkPicturePlayback, and creates a new SkPictureRecord + // Ceates a new SkPictureRecord recorder.beginRecording(0, 0); } @@ -1547,7 +1547,7 @@ static void test_gen_id(skiatest::Reporter* reporter) { DEF_TEST(Picture, reporter) { #ifdef SK_DEBUG - test_deleting_empty_playback(); + test_deleting_empty_picture(); test_serializing_empty_picture(); #else test_bad_bitmap(); -- cgit v1.2.3