| 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 e93b59eca7d80b770225aee6c454f338a3ad8435..3ed0226dd4b4ab52c846edc245325ced10287d92 100644
|
| --- a/ash/test/cursor_manager_test_api.cc
|
| +++ b/ash/test/cursor_manager_test_api.cc
|
| @@ -22,19 +22,17 @@ CursorManagerTestApi::CursorManagerTestApi(
|
| CursorManagerTestApi::~CursorManagerTestApi() {
|
| }
|
|
|
| +// TODO(tdanderson): CursorManagerTestApi may no longer be needed.
|
| float CursorManagerTestApi::GetCurrentScale() const {
|
| - return static_cast<views::corewm::NativeCursorManagerDelegate*>(
|
| - cursor_manager_)->GetCurrentScale();
|
| + return cursor_manager_->GetScale();
|
| }
|
|
|
| ui::CursorSetType CursorManagerTestApi::GetCurrentCursorSet() const {
|
| - return static_cast<views::corewm::NativeCursorManagerDelegate*>(
|
| - cursor_manager_)->GetCurrentCursorSet();
|
| + return cursor_manager_->GetCursorSet();
|
| }
|
|
|
| gfx::NativeCursor CursorManagerTestApi::GetCurrentCursor() const {
|
| - return static_cast<views::corewm::NativeCursorManagerDelegate*>(
|
| - cursor_manager_)->GetCurrentCursor();
|
| + return cursor_manager_->GetCursor();
|
| }
|
|
|
| gfx::Display CursorManagerTestApi::GetDisplay() const {
|
|
|