Update common/chromium/gin_enable_disable_v8_platform.patch
This commit is contained in:
Родитель
7e1bdc3321
Коммит
cde53179bc
|
@ -30,10 +30,10 @@ index 2509aca609f9..94003c6031cf 100644
|
|||
v8::Isolate* isolate() { return isolate_; }
|
||||
|
||||
diff --git a/gin/v8_initializer.cc b/gin/v8_initializer.cc
|
||||
index e03635f4378f..d6274f66da1a 100644
|
||||
index 02d4b1cd6521..ec6d51d7e5d8 100644
|
||||
--- a/gin/v8_initializer.cc
|
||||
+++ b/gin/v8_initializer.cc
|
||||
@@ -321,12 +321,14 @@ base::FilePath V8Initializer::GetSnapshotFilePath(bool abi_32_bit) {
|
||||
@@ -236,12 +236,14 @@ LoadV8FileResult MapOpenedFile(const OpenedFileMap::mapped_type& file_region,
|
||||
|
||||
// static
|
||||
void V8Initializer::Initialize(IsolateHolder::ScriptMode mode,
|
||||
|
@ -48,8 +48,8 @@ index e03635f4378f..d6274f66da1a 100644
|
|||
+ if (create_v8_platform)
|
||||
+ v8::V8::InitializePlatform(V8Platform::Get());
|
||||
|
||||
if (IsolateHolder::kStrictMode == mode) {
|
||||
static const char use_strict[] = "--use_strict";
|
||||
if (base::FeatureList::IsEnabled(features::kV8OptimizeJavascript)) {
|
||||
static const char optimize[] = "--opt";
|
||||
diff --git a/gin/v8_initializer.h b/gin/v8_initializer.h
|
||||
index f0a7c5e0fb68..df4ab4f3e4b9 100644
|
||||
--- a/gin/v8_initializer.h
|
||||
|
|
Загрузка…
Ссылка в новой задаче