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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp

Issue 2627953005: Make workers inherit the large heap limit of the main isolate. (Closed)
Patch Set: fix tests Created 3 years, 11 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/serviceworkers/ServiceWorkerGlobalScope.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
index 8e3c1a1e457366103c658525a84b21fbdb624a14..475ca6f3221f021b975d28754653d5a0b20769f2 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
@@ -78,7 +78,7 @@ ServiceWorkerGlobalScope* ServiceWorkerGlobalScope::create(
std::move(startupData->m_starterOriginPrivilegeData),
startupData->m_workerClients);
- context->setV8CacheOptions(startupData->m_v8CacheOptions);
+ context->setV8CacheOptions(startupData->m_workerV8Settings.m_v8CacheOptions);
context->applyContentSecurityPolicyFromVector(
*startupData->m_contentSecurityPolicyHeaders);
if (!startupData->m_referrerPolicy.isNull())

Powered by Google App Engine
This is Rietveld 408576698