Index: ash/common/shelf/shelf_layout_manager.cc |
diff --git a/ash/common/shelf/shelf_layout_manager.cc b/ash/common/shelf/shelf_layout_manager.cc |
index 033ce8b83d3f993ab4af8b71099c024d76c117ac..d48defb892990c74294342ddb4d8a63858b95a4d 100644 |
--- a/ash/common/shelf/shelf_layout_manager.cc |
+++ b/ash/common/shelf/shelf_layout_manager.cc |
@@ -389,7 +389,7 @@ void ShelfLayoutManager::OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) { |
bool change_work_area = |
(!base::CommandLine::ForCurrentProcess()->HasSwitch( |
::switches::kUseNewVirtualKeyboardBehavior) || |
- keyboard::KeyboardController::GetInstance()->get_lock_keyboard()); |
+ keyboard::KeyboardController::GetInstance()->keyboard_locked()); |
keyboard_bounds_ = new_bounds; |
LayoutShelfAndUpdateBounds(change_work_area); |