summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/input_window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/input_window.cc')
-rw-r--r--chrome/browser/views/input_window.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/views/input_window.cc b/chrome/browser/views/input_window.cc
index 6add8e8..a2bc55b 100644
--- a/chrome/browser/views/input_window.cc
+++ b/chrome/browser/views/input_window.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/views/input_window.h"
+#include "base/message_loop.h"
+#include "base/task.h"
#include "chrome/browser/views/standard_layout.h"
#include "chrome/common/l10n_util.h"
#include "chrome/views/grid_layout.h"
@@ -165,6 +167,6 @@ views::Window* CreateInputWindow(HWND parent_hwnd,
views::Window* window =
views::Window::CreateChromeWindow(parent_hwnd, gfx::Rect(),
new ContentView(delegate));
- window->client_view()->AsDialogClientView()->UpdateDialogButtons();
+ window->GetClientView()->AsDialogClientView()->UpdateDialogButtons();
return window;
}