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

Unified Diff: Source/platform/weborigin/KURL.h

Issue 297223005: Add a move constructor and move assignment operator to KURL (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add FIXME comment Created 6 years, 7 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 | Source/platform/weborigin/KURL.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/weborigin/KURL.h
diff --git a/Source/platform/weborigin/KURL.h b/Source/platform/weborigin/KURL.h
index ac6d23165a9c654dd697fdb4ca090405288c432c..0521ce47a164b2fc89620a6da4fbc97952f6ee39 100644
--- a/Source/platform/weborigin/KURL.h
+++ b/Source/platform/weborigin/KURL.h
@@ -55,6 +55,11 @@ public:
KURL(const KURL&);
KURL& operator=(const KURL&);
+#if COMPILER_SUPPORTS(CXX_RVALUE_REFERENCES)
+ KURL(KURL&&);
+ KURL& operator=(KURL&&);
+#endif
+
// The argument is an absolute URL string. The string is assumed to be
// output of KURL::string() called on a valid KURL object, or indiscernible
// from such. It is usually best to avoid repeatedly parsing a string,
« no previous file with comments | « no previous file | Source/platform/weborigin/KURL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698