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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThread.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/workers/WorkerThread.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.cpp b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
index 071f7d15a945272f2b9c8a24f55105279a7700ff..4681829aac592dd1285e9f12deb758fc49a1c48a 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
@@ -303,7 +303,7 @@ WorkerThread::WorkerThread(PassRefPtr<WorkerLoaderProxy> workerLoaderProxy,
: m_workerThreadId(getNextWorkerThreadId()),
m_forcibleTerminationDelayInMs(kForcibleTerminationDelayInMs),
m_inspectorTaskRunner(WTF::makeUnique<InspectorTaskRunner>()),
- m_workerLoaderProxy(workerLoaderProxy),
+ m_workerLoaderProxy(std::move(workerLoaderProxy)),
m_workerReportingProxy(workerReportingProxy),
m_shutdownEvent(WTF::wrapUnique(
new WaitableEvent(WaitableEvent::ResetPolicy::Manual,
« no previous file with comments | « third_party/WebKit/Source/core/style/ShapeValue.h ('k') | third_party/WebKit/Source/core/xml/parser/SharedBufferReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698