diff options
author | Mike Klein <mtklein@google.com> | 2014-06-23 15:29:52 -0400 |
---|---|---|
committer | Mike Klein <mtklein@google.com> | 2014-06-23 15:29:52 -0400 |
commit | 6fc763e3c2b1e539510cb18ece8b97e183099ab1 (patch) | |
tree | ad32c32ded50d162e35f7d4dbf7c0587b5594a8d /src/core/SkPicture.cpp | |
parent | 744fb7313f31069e9eceeca4c0ff33dbe2fe1737 (diff) |
No one uses SkPicture::swap.
BUG=skia:
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/349313004
Diffstat (limited to 'src/core/SkPicture.cpp')
-rw-r--r-- | src/core/SkPicture.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
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); |