commit | 04cd96433f1b1879fc0575e10aa0ed0d5aa7fec9 | [log] [tgz] |
---|---|---|
author | dcarney <[email protected]> | Fri Nov 21 13:58:11 2014 |
committer | Commit bot <[email protected]> | Fri Nov 21 13:58:26 2014 |
tree | 70e3596d3463262016d68b8bcddab0ba7c62950a | |
parent | 10a15e9c3087889e47e30df2903654ebf9ce64e1 [diff] [blame] |
remove some calls to to-be-deprecated v8::Value::To* functions [email protected] [email protected] BUG= Review URL: https://codereview.chromium.org/753523002 Cr-Commit-Position: refs/heads/master@{#305209}
diff --git a/content/renderer/pepper/ppb_var_deprecated_impl.cc b/content/renderer/pepper/ppb_var_deprecated_impl.cc index c5a93e2..589981cf 100644 --- a/content/renderer/pepper/ppb_var_deprecated_impl.cc +++ b/content/renderer/pepper/ppb_var_deprecated_impl.cc
@@ -235,7 +235,8 @@ v8::Handle<v8::Object> recv = accessor.instance()->GetMainWorldContext()->Global(); if (v8_method_name.As<v8::String>()->Length() != 0) { - function = function->Get(v8_method_name)->ToObject(); + function = function->Get(v8_method_name) + ->ToObject(accessor.instance()->GetIsolate()); recv = accessor.GetObject(); }