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

Unified Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp

Issue 2761693002: Wrapped PassRefPtrs in move where passed to RefPtr constructor. (Closed)
Patch Set: Added move wraps for multiple instances in 1 line. Created 3 years, 9 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
Index: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
index de75c7a790c63008588b758646a692f740525e0d..de095344db1d56bdaa02ef95f2162afbef6beadd 100644
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
@@ -240,7 +240,7 @@ XMLHttpRequest::XMLHttpRequest(
XMLHttpRequestProgressEventThrottle::create(this)),
m_responseTypeCode(ResponseTypeDefault),
m_isIsolatedWorld(isIsolatedWorld),
- m_isolatedWorldSecurityOrigin(isolatedWorldSecurityOrigin),
+ m_isolatedWorldSecurityOrigin(std::move(isolatedWorldSecurityOrigin)),
m_eventDispatchRecursionLevel(0),
m_async(true),
m_includeCredentials(false),

Powered by Google App Engine
This is Rietveld 408576698