| Index: gin/runner_unittest.cc
|
| diff --git a/gin/runner_unittest.cc b/gin/runner_unittest.cc
|
| index adcebed4cbc94d297f8f695851fe25d0c8a76416..3ff770333c2ed19abb2a215cf2bf641a8deba6d8 100644
|
| --- a/gin/runner_unittest.cc
|
| +++ b/gin/runner_unittest.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/compiler_specific.h"
|
| #include "gin/converter.h"
|
| +#include "gin/gin.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| using v8::Isolate;
|
| @@ -18,8 +19,10 @@ namespace gin {
|
| TEST(RunnerTest, Run) {
|
| std::string source = "this.result = 'PASS';\n";
|
|
|
| + gin::Gin instance;
|
| +
|
| RunnerDelegate delegate;
|
| - Isolate* isolate = Isolate::GetCurrent();
|
| + Isolate* isolate = instance.isolate();
|
| Runner runner(&delegate, isolate);
|
| Runner::Scope scope(&runner);
|
| runner.Run(source);
|
|
|