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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThreadStartupData.h

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.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerThreadStartupData.h b/third_party/WebKit/Source/core/workers/WorkerThreadStartupData.h
index 2af02088654cd8aad668f12b8cb2830966c1a9bd..4e13de6779e8eaf918e9dc3b652198324cc61506 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThreadStartupData.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThreadStartupData.h
@@ -31,7 +31,7 @@
#ifndef WorkerThreadStartupData_h
#define WorkerThreadStartupData_h
-#include "bindings/core/v8/V8CacheOptions.h"
+#include "bindings/core/v8/WorkerV8Settings.h"
#include "core/CoreExport.h"
#include "core/frame/csp/ContentSecurityPolicy.h"
#include "core/workers/WorkerClients.h"
@@ -67,12 +67,12 @@ class CORE_EXPORT WorkerThreadStartupData final {
WebAddressSpace addressSpace,
const Vector<String>* originTrialTokens,
std::unique_ptr<WorkerSettings> workerSettings,
- V8CacheOptions v8CacheOptions = V8CacheOptionsDefault) {
+ WorkerV8Settings workerV8Settings) {
return WTF::wrapUnique(new WorkerThreadStartupData(
scriptURL, userAgent, sourceCode, std::move(cachedMetaData), startMode,
contentSecurityPolicyHeaders, referrerPolicy, starterOrigin,
workerClients, addressSpace, originTrialTokens,
- std::move(workerSettings), v8CacheOptions));
+ std::move(workerSettings), workerV8Settings));
}
~WorkerThreadStartupData();
@@ -111,7 +111,7 @@ class CORE_EXPORT WorkerThreadStartupData final {
std::unique_ptr<WorkerSettings> m_workerSettings;
- V8CacheOptions m_v8CacheOptions;
+ WorkerV8Settings m_workerV8Settings;
private:
WorkerThreadStartupData(
@@ -127,7 +127,7 @@ class CORE_EXPORT WorkerThreadStartupData final {
WebAddressSpace,
const Vector<String>* originTrialTokens,
std::unique_ptr<WorkerSettings>,
- V8CacheOptions);
+ WorkerV8Settings);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698