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

Unified Diff: tests/PictureTest.cpp

Issue 381133002: Remove SkPicture copy constructor (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Removed unused "copy" method Created 6 years, 5 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
« no previous file with comments | « src/core/SkPictureData.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/PictureTest.cpp
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp
index 61f6d03cfe7e26df5ce13c41c841d5ef707098d9..a4dc7d71024565963137effd07e0eb61788f83a2 100644
--- a/tests/PictureTest.cpp
+++ b/tests/PictureTest.cpp
@@ -1536,13 +1536,6 @@ static void test_gen_id(skiatest::Reporter* reporter) {
// both pictures should have different ids
REPORTER_ASSERT(reporter, hasData->uniqueID() != empty.uniqueID());
-
- // test out copy constructor
- SkPicture copyWithData(*hasData);
- REPORTER_ASSERT(reporter, hasData->uniqueID() == copyWithData.uniqueID());
-
- SkPicture emptyCopy(empty);
- REPORTER_ASSERT(reporter, empty.uniqueID() != emptyCopy.uniqueID());
}
DEF_TEST(Picture, reporter) {
« no previous file with comments | « src/core/SkPictureData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698