IsolateHolder API has been changed
This commit is contained in:
parent
5fb87f0c1e
commit
dd3d791cb9
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
#include "base/command_line.h"
|
#include "base/command_line.h"
|
||||||
#include "base/message_loop/message_loop.h"
|
#include "base/message_loop/message_loop.h"
|
||||||
|
#include "base/threading/thread_task_runner_handle.h"
|
||||||
#include "content/public/common/content_switches.h"
|
#include "content/public/common/content_switches.h"
|
||||||
#include "gin/array_buffer.h"
|
#include "gin/array_buffer.h"
|
||||||
#include "gin/v8_initializer.h"
|
#include "gin/v8_initializer.h"
|
||||||
|
@ -18,6 +19,7 @@ namespace atom {
|
||||||
|
|
||||||
JavascriptEnvironment::JavascriptEnvironment()
|
JavascriptEnvironment::JavascriptEnvironment()
|
||||||
: initialized_(Initialize()),
|
: initialized_(Initialize()),
|
||||||
|
isolate_holder_(base::ThreadTaskRunnerHandle::Get()),
|
||||||
isolate_(isolate_holder_.isolate()),
|
isolate_(isolate_holder_.isolate()),
|
||||||
isolate_scope_(isolate_),
|
isolate_scope_(isolate_),
|
||||||
locker_(isolate_),
|
locker_(isolate_),
|
||||||
|
|
Loading…
Reference in a new issue