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

Unified Diff: pdf/pdfium/pdfium_engine.cc

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Work for most comments Created 3 years, 7 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: pdf/pdfium/pdfium_engine.cc
diff --git a/pdf/pdfium/pdfium_engine.cc b/pdf/pdfium/pdfium_engine.cc
index 36790be7d350bc210cfa797b87a3a27c58b5f6f6..9ea6ee8d8f884d68f442a923c5cc93ec484a792a 100644
--- a/pdf/pdfium/pdfium_engine.cc
+++ b/pdf/pdfium/pdfium_engine.cc
@@ -597,8 +597,8 @@ void SetUpV8() {
gin::IsolateHolder::kStableV8Extras,
gin::ArrayBufferAllocator::SharedInstance());
DCHECK(!g_isolate_holder);
- g_isolate_holder = new gin::IsolateHolder(base::ThreadTaskRunnerHandle::Get(),
- gin::IsolateHolder::kSingleThread);
+ g_isolate_holder =
+ new gin::IsolateHolder(base::ThreadTaskRunnerHandle::Get());
g_isolate_holder->isolate()->Enter();
}

Powered by Google App Engine
This is Rietveld 408576698