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

Unified Diff: chrome/browser/ui/webui/quota_internals/quota_internals_handler.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/profiler_ui.cc ('k') | chrome/browser/ui/webui/signin/inline_login_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc
diff --git a/chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc b/chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc
index 27ff16b2bdf96f47d54b2b163e69c4fac39e560e..62af29aff01fe0d9c98f98801ba5b1432690fa8d 100644
--- a/chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc
+++ b/chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc
@@ -76,8 +76,8 @@ void QuotaInternalsHandler::ReportStatistics(const Statistics& stats) {
void QuotaInternalsHandler::SendMessage(const std::string& message,
const base::Value& value) {
- web_ui()->CallJavascriptFunction(
- "cr.quota.messageHandler", base::StringValue(message), value);
+ web_ui()->CallJavascriptFunctionUnsafe("cr.quota.messageHandler",
+ base::StringValue(message), value);
}
void QuotaInternalsHandler::OnRequestInfo(const base::ListValue*) {
« no previous file with comments | « chrome/browser/ui/webui/profiler_ui.cc ('k') | chrome/browser/ui/webui/signin/inline_login_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698