summaryrefslogtreecommitdiffstats
path: root/chrome/browser/jsmessage_box_handler_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/jsmessage_box_handler_win.cc')
-rw-r--r--chrome/browser/jsmessage_box_handler_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/jsmessage_box_handler_win.cc b/chrome/browser/jsmessage_box_handler_win.cc
index 9dac0f4..9c48f9e 100644
--- a/chrome/browser/jsmessage_box_handler_win.cc
+++ b/chrome/browser/jsmessage_box_handler_win.cc
@@ -174,7 +174,7 @@ views::View* JavascriptMessageBoxHandler::GetContentsView() {
return message_box_view_;
}
-views::View* JavascriptMessageBoxHandler::GetInitiallyFocusedView() const {
+views::View* JavascriptMessageBoxHandler::GetInitiallyFocusedView() {
if (message_box_view_->text_box())
return message_box_view_->text_box();
return views::AppModalDialogDelegate::GetInitiallyFocusedView();