Index: chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc |
diff --git a/chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc b/chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc |
index 6e40b63f8ee6bb81242d9dcc194babca4c8ca7e2..7a2ed00bd5ac538537182e7ec5e17a3c642eae64 100644 |
--- a/chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc |
+++ b/chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc |
@@ -183,7 +183,7 @@ void AshKeyboardControllerProxy::ShowKeyboardContainer( |
// is set. |
if (GetInputMethod()->GetTextInputClient()) { |
gfx::Rect showing_area = |
- ash::DisplayController::GetPrimaryDisplay().work_area(); |
+ ash::Shell::GetScreen()->GetPrimaryDisplay().work_area(); |
GetInputMethod()->GetTextInputClient()->EnsureCaretInRect(showing_area); |
} |
} |