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

Unified Diff: include/core/SkBitmap.h

Issue 1514503004: SkBitmap move (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-12-10 (Thursday) 17:55:13 EST Created 5 years 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
Index: include/core/SkBitmap.h
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
index cf1c4c77f208f718a54dbe1a3c677810a3eb70e2..eb58a63414d821ca9545857398a45caaab123bcf 100644
--- a/include/core/SkBitmap.h
+++ b/include/core/SkBitmap.h
@@ -65,6 +65,9 @@ public:
// This method is not exported to java.
void swap(SkBitmap& other);
+ SkBitmap& operator=(SkBitmap&&);
+ SkBitmap(SkBitmap&&);
+
///////////////////////////////////////////////////////////////////////////
const SkImageInfo& info() const { return fInfo; }
« no previous file with comments | « gm/bitmappremul.cpp ('k') | src/core/SkBitmap.cpp » ('j') | src/core/SkBitmap.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698