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

Unified Diff: chrome/test/data/webui/async_gen.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/test/data/webui/async_gen.cc
diff --git a/chrome/test/data/webui/async_gen.cc b/chrome/test/data/webui/async_gen.cc
index 4e22cb369466963d8b5c67576b76677ebc6d366c..b1f739897267ee7d9b62a5067f74f634fb31c88f 100644
--- a/chrome/test/data/webui/async_gen.cc
+++ b/chrome/test/data/webui/async_gen.cc
@@ -23,7 +23,7 @@ void WebUIBrowserAsyncGenTest::AsyncWebUIMessageHandler::HandleCallJS(
const base::ListValue* list_value) {
std::string call_js;
ASSERT_TRUE(list_value->GetString(0, &call_js));
- web_ui()->CallJavascriptFunction(call_js);
+ web_ui()->CallJavascriptFunctionUnsafe(call_js);
}
void WebUIBrowserAsyncGenTest::AsyncWebUIMessageHandler::RegisterMessages() {
« no previous file with comments | « chrome/test/base/web_ui_browser_test_browsertest.cc ('k') | components/dom_distiller/webui/dom_distiller_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698