diff options
author | 2014-07-13 07:55:53 -0700 | |
---|---|---|
committer | 2014-07-13 07:55:53 -0700 | |
commit | dd528967fc3eea54c8d10937b0100192d0722f4e (patch) | |
tree | 8c63bdff332ed5d9fcda4bf815489dcdd0781c24 /tests | |
parent | b184f7f52b2a94e95aee326a3ca37110d2e43336 (diff) |
Remove SkPicture copy constructor
Given where we're heading with SkPicture why would you need to make a copy?
R=reed@google.com, mtklein@google.com
Author: robertphillips@google.com
Review URL: https://codereview.chromium.org/381133002
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PictureTest.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp index 61f6d03cfe..a4dc7d7102 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) { |