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

Unified Diff: third_party/WebKit/Source/core/workers/SharedWorkerGlobalScope.cpp

Issue 2406333002: Remove CrossThreadPersistent::release (Closed)
Patch Set: added comment Created 4 years, 2 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/SharedWorkerGlobalScope.cpp
diff --git a/third_party/WebKit/Source/core/workers/SharedWorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/SharedWorkerGlobalScope.cpp
index 268bedb3a984525fd7f674ce4f901411ec180a24..a952e8cbf70486221d266d913750378d94dff7e8 100644
--- a/third_party/WebKit/Source/core/workers/SharedWorkerGlobalScope.cpp
+++ b/third_party/WebKit/Source/core/workers/SharedWorkerGlobalScope.cpp
@@ -60,7 +60,7 @@ SharedWorkerGlobalScope* SharedWorkerGlobalScope::create(
SharedWorkerGlobalScope* context = new SharedWorkerGlobalScope(
name, startupData->m_scriptURL, startupData->m_userAgent, thread,
std::move(startupData->m_starterOriginPrivilegeData),
- startupData->m_workerClients.release());
+ startupData->m_workerClients);
context->applyContentSecurityPolicyFromVector(
*startupData->m_contentSecurityPolicyHeaders);
context->setWorkerSettings(std::move(startupData->m_workerSettings));

Powered by Google App Engine
This is Rietveld 408576698