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

Unified Diff: sky/engine/platform/weborigin/KURL.cpp

Issue 719063002: Revert "Remove support for MSVC" (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: sky/engine/platform/weborigin/KURL.cpp
diff --git a/sky/engine/platform/weborigin/KURL.cpp b/sky/engine/platform/weborigin/KURL.cpp
index f7e15855e6a59e35926930f5fe94b69c29b09d4c..5d4e536c13f9044805b912cbaa4d6966d065e4a6 100644
--- a/sky/engine/platform/weborigin/KURL.cpp
+++ b/sky/engine/platform/weborigin/KURL.cpp
@@ -261,6 +261,7 @@ KURL& KURL::operator=(const KURL& other)
return *this;
}
+#if COMPILER_SUPPORTS(CXX_RVALUE_REFERENCES)
KURL::KURL(KURL&& other)
: m_isValid(other.m_isValid)
, m_protocolIsInHTTPFamily(other.m_protocolIsInHTTPFamily)
@@ -283,6 +284,7 @@ KURL& KURL::operator=(KURL&& other)
m_innerURL = other.m_innerURL.release();
return *this;
}
+#endif
KURL KURL::copy() const
{

Powered by Google App Engine
This is Rietveld 408576698