summaryrefslogtreecommitdiffstats
path: root/gin/wrappable_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gin/wrappable_unittest.cc')
-rw-r--r--gin/wrappable_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gin/wrappable_unittest.cc b/gin/wrappable_unittest.cc
index 2428dc1..09fef24 100644
--- a/gin/wrappable_unittest.cc
+++ b/gin/wrappable_unittest.cc
@@ -114,7 +114,7 @@ TEST_F(WrappableTest, UnwrapFailures) {
v8::HandleScope handle_scope(isolate);
// Something that isn't an object.
- v8::Handle<v8::Value> thing = v8::Number::New(42);
+ v8::Handle<v8::Value> thing = v8::Number::New(isolate, 42);
MyObject* unwrapped = NULL;
EXPECT_FALSE(ConvertFromV8(isolate, thing, &unwrapped));
EXPECT_FALSE(unwrapped);