summaryrefslogtreecommitdiffstats
path: root/gin/shell/gin_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gin/shell/gin_main.cc')
-rw-r--r--gin/shell/gin_main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gin/shell/gin_main.cc b/gin/shell/gin_main.cc
index 62143c9..ceb4d64 100644
--- a/gin/shell/gin_main.cc
+++ b/gin/shell/gin_main.cc
@@ -64,11 +64,12 @@ int main(int argc, char** argv) {
gin::V8Initializer::LoadV8Snapshot();
#endif
+ base::MessageLoop message_loop;
+
gin::IsolateHolder::Initialize(gin::IsolateHolder::kStrictMode,
gin::ArrayBufferAllocator::SharedInstance());
gin::IsolateHolder instance;
- base::MessageLoop message_loop;
gin::GinShellRunnerDelegate delegate;
gin::ShellRunner runner(&delegate, instance.isolate());