diff options
author | marja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-12 16:08:56 +0000 |
---|---|---|
committer | marja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-12 16:08:56 +0000 |
commit | d999271074c970f6c126557ab54c74994696dea9 (patch) | |
tree | 4bfc49de5fd503167a7393011d1fda55e8534b4d | |
parent | c42c85c3ef3c9b0136d17883d4dace57640c58a9 (diff) | |
download | chromium_src-d999271074c970f6c126557ab54c74994696dea9.zip chromium_src-d999271074c970f6c126557ab54c74994696dea9.tar.gz chromium_src-d999271074c970f6c126557ab54c74994696dea9.tar.bz2 |
Get rid of even more Script::New calls in Chromium.
Script::Compile is the right way (see previous changes in
https://codereview.chromium.org/178663008 ).
R=jochen@chromium.org
BUG=
Review URL: https://codereview.chromium.org/196573003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256538 0039d316-1c4b-4281-b951-d872f2087c98
-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; |