Index: content/shell/shell_javascript_dialog_creator.cc |
diff --git a/content/shell/shell_javascript_dialog_creator.cc b/content/shell/shell_javascript_dialog_creator.cc |
index b0dc5a1c0f088bc0a626dd7f472371fa048681bd..2f950b2181286223f7b22272a9d4f0a4dc5748eb 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)); |