diff options
Diffstat (limited to 'content/shell/shell_javascript_dialog_creator.cc')
-rw-r--r-- | content/shell/shell_javascript_dialog_creator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/shell/shell_javascript_dialog_creator.cc b/content/shell/shell_javascript_dialog_creator.cc index b0dc5a1..2f950b2 100644 --- a/content/shell/shell_javascript_dialog_creator.cc +++ b/content/shell/shell_javascript_dialog_creator.cc @@ -21,7 +21,7 @@ void ShellJavaScriptDialogCreator::RunJavaScriptDialog( WebContents* web_contents, const GURL& origin_url, const std::string& accept_lang, - ui::JavascriptMessageType javascript_message_type, + JavaScriptMessageType javascript_message_type, const string16& message_text, const string16& default_prompt_text, const DialogClosedCallback& callback, @@ -68,7 +68,7 @@ void ShellJavaScriptDialogCreator::RunBeforeUnloadDialog( ASCIIToUTF16("\n\nIs it OK to leave/reload this page?"); dialog_.reset(new ShellJavaScriptDialog(this, - ui::JAVASCRIPT_MESSAGE_TYPE_CONFIRM, + JAVASCRIPT_MESSAGE_TYPE_CONFIRM, new_message_text, string16(), // default_prompt_text callback)); |