From add8fb170d60541013763ed931eb55f5655d6e73 Mon Sep 17 00:00:00 2001 From: "jochen@chromium.org" Date: Fri, 3 Jan 2014 15:13:49 +0000 Subject: Remove usage of deprecate v8::Number constructors from gin TBR=dcarney@chromium.org BUG=none Review URL: https://codereview.chromium.org/109563003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242884 0039d316-1c4b-4281-b951-d872f2087c98 --- gin/wrappable_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gin/wrappable_unittest.cc') 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 thing = v8::Number::New(42); + v8::Handle thing = v8::Number::New(isolate, 42); MyObject* unwrapped = NULL; EXPECT_FALSE(ConvertFromV8(isolate, thing, &unwrapped)); EXPECT_FALSE(unwrapped); -- cgit v1.1