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

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, 7 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 d964c3560e94de4b0accf90ecb475aa3227a8b71..ca01d1363ccd49ac9a72e8f051e00132f804aa3d 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.Append(new base::StringValue(url.spec()));
}
- web_ui()->CallJavascriptFunction(
+ web_ui()->CallJavascriptFunctionUnsafe(
"OptionsWebUIExtendedTest.verifyHistoryCallback", history);
}

Powered by Google App Engine
This is Rietveld 408576698