From 6fc763e3c2b1e539510cb18ece8b97e183099ab1 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Mon, 23 Jun 2014 15:29:52 -0400 Subject: No one uses SkPicture::swap. BUG=skia: R=robertphillips@google.com Review URL: https://codereview.chromium.org/349313004 --- src/core/SkPicture.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/core/SkPicture.cpp') diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp index 11afc34c4b..c4e4204bf8 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); -- cgit v1.2.3