diff options
Diffstat (limited to 'gin/wrappable_unittest.cc')
-rw-r--r-- | gin/wrappable_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gin/wrappable_unittest.cc b/gin/wrappable_unittest.cc index ec067d5..4916153 100644 --- a/gin/wrappable_unittest.cc +++ b/gin/wrappable_unittest.cc @@ -235,7 +235,7 @@ TEST_F(WrappableTest, ErrorInObjectConstructorProperty) { " });" "})();"); EXPECT_FALSE(source.IsEmpty()); - v8::Handle<v8::Script> script = v8::Script::New(source); + v8::Handle<v8::Script> script = v8::Script::Compile(source); script->Run(); gin::TryCatch try_catch; |