Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ui / web_dialogs / web_dialog_ui.cc
index c0ffb02..161af45 100644 (file)
@@ -79,7 +79,7 @@ WebDialogDelegate* WebDialogUI::GetDelegate(
 void WebDialogUI::RenderViewCreated(RenderViewHost* render_view_host) {
   // Hook up the javascript function calls, also known as chrome.send("foo")
   // calls in the HTML, to the actual C++ functions.
-  web_ui()->RegisterMessageCallback("DialogClose",
+  web_ui()->RegisterMessageCallback("dialogClose",
       base::Bind(&WebDialogUI::OnDialogClosed, base::Unretained(this)));
 
   // Pass the arguments to the renderer supplied by the delegate.