Commit 5b2f030d authored by jochen@chromium.org's avatar jochen@chromium.org

Temporary hack to avoid PDFium crashing

I'll remove this again once PDFium has the explicit Initialize() call
as well

BUG=none
LOG=n
R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/583183002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24082 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 32258fdc
......@@ -6567,6 +6567,9 @@ Isolate* Isolate::GetCurrent() {
Isolate* Isolate::New(const Isolate::CreateParams& params) {
// TODO(jochen): Remove again soon.
V8::Initialize();
i::Isolate* isolate = new i::Isolate();
Isolate* v8_isolate = reinterpret_cast<Isolate*>(isolate);
if (params.entry_hook) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment