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

Unified Diff: chrome/browser/ui/webui/nacl_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, 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/nacl_ui.cc
diff --git a/chrome/browser/ui/webui/nacl_ui.cc b/chrome/browser/ui/webui/nacl_ui.cc
index 5af8ba573f90e1a6a99013425e910bb3cb109fe0..79fe16e5e1bd91840e0581e5b1138e6fd3e7a7aa 100644
--- a/chrome/browser/ui/webui/nacl_ui.cc
+++ b/chrome/browser/ui/webui/nacl_ui.cc
@@ -372,7 +372,7 @@ void NaClDomHandler::MaybeRespondToPage() {
base::DictionaryValue naclInfo;
PopulatePageInformation(&naclInfo);
- web_ui()->CallJavascriptFunction("nacl.returnNaClInfo", naclInfo);
+ web_ui()->CallJavascriptFunctionUnsafe("nacl.returnNaClInfo", naclInfo);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698