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

Unified Diff: chrome/browser/ui/webui/options/options_browsertest.cc

Issue 1995113002: Rename WebUI::CallJavascriptFunction to WebUI::CallJavascriptFunctionUnsafe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: chrome/browser/ui/webui/options/options_browsertest.cc
diff --git a/chrome/browser/ui/webui/options/options_browsertest.cc b/chrome/browser/ui/webui/options/options_browsertest.cc
index 3be96405e68790431977038e06a523bc3643eb39..6eca2fc2dff33b1d38b37067f35779ee42df7efb 100644
--- a/chrome/browser/ui/webui/options/options_browsertest.cc
+++ b/chrome/browser/ui/webui/options/options_browsertest.cc
@@ -46,7 +46,7 @@ void OptionsBrowserTest::ReportHistory(const base::ListValue* list_value) {
GURL url = controller.GetEntryAtIndex(i)->GetVirtualURL();
history.AppendString(url.spec());
}
- web_ui()->CallJavascriptFunction(
+ web_ui()->CallJavascriptFunctionUnsafe(
"OptionsWebUIExtendedTest.verifyHistoryCallback", history);
}
« no previous file with comments | « chrome/browser/ui/webui/options/media_devices_selection_handler.cc ('k') | chrome/browser/ui/webui/options/options_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698