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

Unified Diff: include/core/SkPaint.h

Issue 1676843002: Make SkPaint movable. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 10 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 | « no previous file | src/core/SkPaint.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPaint.h
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 51e8848a00b6f3ad07d6ed72a513941377cb5247..a0def42f12077a207093675ac5f2488932775478 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -52,9 +52,11 @@ class SK_API SkPaint {
public:
SkPaint();
SkPaint(const SkPaint& paint);
+ SkPaint(SkPaint&& paint);
~SkPaint();
SkPaint& operator=(const SkPaint&);
+ SkPaint& operator=(SkPaint&&);
/** operator== may give false negatives: two paints that draw equivalently
may return false. It will never give false positives: two paints that
« no previous file with comments | « no previous file | src/core/SkPaint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698