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

Unified Diff: chrome/browser/ui/webui/device_log_ui.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
« no previous file with comments | « chrome/browser/ui/webui/crashes_ui.cc ('k') | chrome/browser/ui/webui/domain_reliability_internals_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/device_log_ui.cc
diff --git a/chrome/browser/ui/webui/device_log_ui.cc b/chrome/browser/ui/webui/device_log_ui.cc
index db8ec3f7822cae09d4412d0925925610d9afd228..2e63cf76cf812f7bb9e146e60fd07e807e36cf06 100644
--- a/chrome/browser/ui/webui/device_log_ui.cc
+++ b/chrome/browser/ui/webui/device_log_ui.cc
@@ -41,7 +41,7 @@ class DeviceLogMessageHandler : public content::WebUIMessageHandler {
base::StringValue data(device_event_log::GetAsString(
device_event_log::NEWEST_FIRST, "json", "",
device_event_log::LOG_LEVEL_DEBUG, 0));
- web_ui()->CallJavascriptFunction("DeviceLogUI.getLogCallback", data);
+ web_ui()->CallJavascriptFunctionUnsafe("DeviceLogUI.getLogCallback", data);
}
DISALLOW_COPY_AND_ASSIGN(DeviceLogMessageHandler);
« no previous file with comments | « chrome/browser/ui/webui/crashes_ui.cc ('k') | chrome/browser/ui/webui/domain_reliability_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698