diff options
Diffstat (limited to 'chrome/browser/views/edit_keyword_controller.cc')
-rw-r--r-- | chrome/browser/views/edit_keyword_controller.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/edit_keyword_controller.cc b/chrome/browser/views/edit_keyword_controller.cc index 8fe9b00..982b6d2 100644 --- a/chrome/browser/views/edit_keyword_controller.cc +++ b/chrome/browser/views/edit_keyword_controller.cc @@ -81,7 +81,7 @@ void EditKeywordController::Show() { ChromeViews::Window::CreateChromeWindow(::IsWindow(parent_) ? parent_ : NULL, gfx::Rect(), this); window()->Show(); - window()->UpdateDialogButtons(); + GetDialogClientView()->UpdateDialogButtons(); title_tf_->SelectAll(); title_tf_->RequestFocus(); } @@ -183,7 +183,7 @@ ChromeViews::View* EditKeywordController::GetContentsView() { void EditKeywordController::ContentsChanged(TextField* sender, const std::wstring& new_contents) { - window()->UpdateDialogButtons(); + GetDialogClientView()->UpdateDialogButtons(); UpdateImageViews(); } |