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

Unified Diff: ash/content/keyboard_overlay/keyboard_overlay_delegate.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 | « no previous file | chrome/browser/chromeos/login/app_launch_signin_screen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/content/keyboard_overlay/keyboard_overlay_delegate.cc
diff --git a/ash/content/keyboard_overlay/keyboard_overlay_delegate.cc b/ash/content/keyboard_overlay/keyboard_overlay_delegate.cc
index 74013a129828f02f03b6b1421da1dc3a5dd67e37..ec661d80fdea682447c0e7fdc172e017a97e7873 100644
--- a/ash/content/keyboard_overlay/keyboard_overlay_delegate.cc
+++ b/ash/content/keyboard_overlay/keyboard_overlay_delegate.cc
@@ -54,7 +54,7 @@ void PaintMessageHandler::RegisterMessages() {
void PaintMessageHandler::DidPaint(const base::ListValue* args) {
// Show the widget after the web content has been painted.
widget_->Show();
- web_ui()->CallJavascriptFunction("onWidgetShown");
+ web_ui()->CallJavascriptFunctionUnsafe("onWidgetShown");
}
} // namespace
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/app_launch_signin_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698