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

Unified Diff: third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.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/modules/websockets/WorkerWebSocketChannel.cpp
diff --git a/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp b/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp
index 8e70bb7fae1bb3b062e25b835e390e83acc859bf..5b9328d7d39c253c73546fa09fb81d8d67082465 100644
--- a/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp
+++ b/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp
@@ -165,7 +165,7 @@ Peer::Peer(Bridge* bridge,
WorkerThreadLifecycleContext* workerThreadLifecycleContext)
: WorkerThreadLifecycleObserver(workerThreadLifecycleContext),
m_bridge(bridge),
- m_loaderProxy(loaderProxy),
+ m_loaderProxy(std::move(loaderProxy)),
m_mainWebSocketChannel(nullptr) {
DCHECK(isMainThread());
}

Powered by Google App Engine
This is Rietveld 408576698