diff options
author | robertphillips <robertphillips@google.com> | 2014-07-01 08:47:04 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-07-01 08:47:04 -0700 |
commit | db539905bb3af7bd05839a7d2558e97d5cb51ca2 (patch) | |
tree | 00e3749598f44533d5980945baeb448608821f86 /tests | |
parent | bb6a02823929584231c8e080ee69e7fb1178cbfb (diff) |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PictureTest.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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<SkPicture> 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(); |