Index: ash/test/cursor_manager_test_api.cc |
diff --git a/ash/test/cursor_manager_test_api.cc b/ash/test/cursor_manager_test_api.cc |
index 4d3e87888d3f5ab918e3ef22e944c43bdcac347c..c1f9636e56ec3c716ef23191b5434b6cb0255302 100644 |
--- a/ash/test/cursor_manager_test_api.cc |
+++ b/ash/test/cursor_manager_test_api.cc |
@@ -30,15 +30,11 @@ gfx::NativeCursor CursorManagerTestApi::GetCurrentCursor() const { |
display::Display::Rotation CursorManagerTestApi::GetCurrentCursorRotation() |
const { |
- return ShellTestApi(Shell::Get()) |
- .ash_native_cursor_manager() |
- ->image_cursors_->GetRotation(); |
+ return ShellTestApi(Shell::Get()).ash_native_cursor_manager()->GetRotation(); |
} |
float CursorManagerTestApi::GetCurrentCursorScale() const { |
- return ShellTestApi(Shell::Get()) |
- .ash_native_cursor_manager() |
- ->image_cursors_->GetScale(); |
+ return ShellTestApi(Shell::Get()).ash_native_cursor_manager()->GetScale(); |
} |
} // namespace test |