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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThreadStartupData.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/core/workers/WorkerThreadStartupData.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerThreadStartupData.cpp b/third_party/WebKit/Source/core/workers/WorkerThreadStartupData.cpp
index b282527a7e12c57be12ee10e85b35d051126dc56..b0eac7c037b809e33014414fe8fd19506d01733b 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThreadStartupData.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerThreadStartupData.cpp
@@ -49,7 +49,7 @@ WorkerThreadStartupData::WorkerThreadStartupData(
WebAddressSpace addressSpace,
const Vector<String>* originTrialTokens,
std::unique_ptr<WorkerSettings> workerSettings,
- V8CacheOptions v8CacheOptions)
+ WorkerV8Settings workerV8Settings)
: m_scriptURL(scriptURL.copy()),
m_userAgent(userAgent.isolatedCopy()),
m_sourceCode(sourceCode.isolatedCopy()),
@@ -61,7 +61,7 @@ WorkerThreadStartupData::WorkerThreadStartupData(
m_workerClients(workerClients),
m_addressSpace(addressSpace),
m_workerSettings(std::move(workerSettings)),
- m_v8CacheOptions(v8CacheOptions) {
+ m_workerV8Settings(workerV8Settings) {
m_contentSecurityPolicyHeaders = WTF::makeUnique<Vector<CSPHeaderAndType>>();
if (contentSecurityPolicyHeaders) {
for (const auto& header : *contentSecurityPolicyHeaders) {

Powered by Google App Engine
This is Rietveld 408576698