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

Unified Diff: extensions/renderer/json_schema_unittest.cc

Issue 2423043003: [Extensions] Convert some callers of ScriptContext::CallFunction (Closed)
Patch Set: d'oh Created 4 years, 2 months 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 | « extensions/renderer/extension_helper.cc ('k') | extensions/renderer/module_system.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/json_schema_unittest.cc
diff --git a/extensions/renderer/json_schema_unittest.cc b/extensions/renderer/json_schema_unittest.cc
index b5e878fb3503015a838a5fe8a3a4bffae833bccb..122f0397861a320ebf9a4d8fe8e18dc7c59b8f1c 100644
--- a/extensions/renderer/json_schema_unittest.cc
+++ b/extensions/renderer/json_schema_unittest.cc
@@ -25,7 +25,7 @@ class JsonSchemaTest : public ModuleSystemTest {
protected:
void TestFunction(const std::string& test_name) {
- env()->module_system()->CallModuleMethod("json_schema_test", test_name);
+ env()->module_system()->CallModuleMethodSafe("json_schema_test", test_name);
}
private:
« no previous file with comments | « extensions/renderer/extension_helper.cc ('k') | extensions/renderer/module_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698