diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-03 15:13:49 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-03 15:13:49 +0000 |
commit | add8fb170d60541013763ed931eb55f5655d6e73 (patch) | |
tree | 336e6fb61155a2f0934de49e35ce4ac25bc59a50 /gin/converter_unittest.cc | |
parent | 94686e41269a314561b71d6dfd79ffcca5dee628 (diff) | |
download | chromium_src-add8fb170d60541013763ed931eb55f5655d6e73.zip chromium_src-add8fb170d60541013763ed931eb55f5655d6e73.tar.gz chromium_src-add8fb170d60541013763ed931eb55f5655d6e73.tar.bz2 |
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
Diffstat (limited to 'gin/converter_unittest.cc')
-rw-r--r-- | gin/converter_unittest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gin/converter_unittest.cc b/gin/converter_unittest.cc index 9b831b9..791d7e6 100644 --- a/gin/converter_unittest.cc +++ b/gin/converter_unittest.cc @@ -73,8 +73,9 @@ TEST_F(ConverterTest, Int32) { int test_data_to[] = {-1, 0, 1}; for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data_to); ++i) { - EXPECT_TRUE(Converter<int32_t>::ToV8(instance_->isolate(), - test_data_to[i])->StrictEquals(Integer::New(test_data_to[i]))); + EXPECT_TRUE(Converter<int32_t>::ToV8(instance_->isolate(), test_data_to[i]) + ->StrictEquals( + Integer::New(instance_->isolate(), test_data_to[i]))); } struct { |