| 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..27c8577457ac1ec829951e7159f1be5a5e0c54de 100644
|
| --- a/ash/test/cursor_manager_test_api.cc
|
| +++ b/ash/test/cursor_manager_test_api.cc
|
| @@ -22,19 +22,18 @@ CursorManagerTestApi::CursorManagerTestApi(
|
| CursorManagerTestApi::~CursorManagerTestApi() {
|
| }
|
|
|
| +// TODO(tdanderson): CursorManagerTestApi should no longer be required
|
| +// once the refactoring of CursorManager is complete.
|
| 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 {
|
|
|