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

Unified Diff: src/core/SkPicture.cpp

Issue 349313004: No one uses SkPicture::swap. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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
« no previous file with comments | « include/core/SkPicture.h ('k') | tests/PictureTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPicture.cpp
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp
index 11afc34c4b555690e5d3d91118daf55f658b4c4d..c4e4204bf839d669218d9efb96f3785d19f226ad 100644
--- a/src/core/SkPicture.cpp
+++ b/src/core/SkPicture.cpp
@@ -161,17 +161,6 @@ SkPicture::SkPicture(const SkPicture& src) : INHERITED() {
// fRecord OK
SkPicture::~SkPicture() {}
-// fRecord OK
-void SkPicture::swap(SkPicture& other) {
- SkTSwap(fUniqueID, other.fUniqueID);
- SkTSwap(fWidth, other.fWidth);
- SkTSwap(fHeight, other.fHeight);
-
- fAccelData.swap(&other.fAccelData);
- fPlayback.swap(&other.fPlayback);
- fRecord.swap(&other.fRecord);
-}
-
// fRecord TODO
SkPicture* SkPicture::clone() const {
SkPicture* clonedPicture = SkNEW(SkPicture);
« no previous file with comments | « include/core/SkPicture.h ('k') | tests/PictureTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698