Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(621)

Unified Diff: extensions/renderer/module_system_test.cc

Issue 753523002: remove some calls to to-be-deprecated v8::Value::To* functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/renderer/test_runner/web_ax_object_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/module_system_test.cc
diff --git a/extensions/renderer/module_system_test.cc b/extensions/renderer/module_system_test.cc
index 9dd60d6f58db4fdc0fbe92419da2b4db52bae994..fb197fce2f7ef7254afadd3f3220101940005e03 100644
--- a/extensions/renderer/module_system_test.cc
+++ b/extensions/renderer/module_system_test.cc
@@ -80,13 +80,13 @@ class ModuleSystemTestEnvironment::AssertNatives
void AssertTrue(const v8::FunctionCallbackInfo<v8::Value>& args) {
CHECK_EQ(1, args.Length());
assertion_made_ = true;
- failed_ = failed_ || !args[0]->ToBoolean()->Value();
+ failed_ = failed_ || !args[0]->ToBoolean(args.GetIsolate())->Value();
}
void AssertFalse(const v8::FunctionCallbackInfo<v8::Value>& args) {
CHECK_EQ(1, args.Length());
assertion_made_ = true;
- failed_ = failed_ || args[0]->ToBoolean()->Value();
+ failed_ = failed_ || args[0]->ToBoolean(args.GetIsolate())->Value();
}
private:
« no previous file with comments | « content/shell/renderer/test_runner/web_ax_object_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698