Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1214)

Unified Diff: tests/PictureTest.cpp

Issue 362773002: Rename SkPicturePlayback to SkPictureData (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix include order Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/PictureTest.cpp
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp
index 8f0fb20c75bbc70941415378d6d8233870871339..61f6d03cfe7e26df5ce13c41c841d5ef707098d9 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();

Powered by Google App Engine
This is Rietveld 408576698