| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/base/cursor/cursor.h" | 5 #include "ui/base/cursor/cursor.h" |
| 6 | 6 |
| 7 #include "ui/base/cursor/ozone/cursor_factory_ozone.h" | 7 #include "ui/ozone/factories/cursor_factory_ozone.h" |
| 8 | 8 |
| 9 namespace ui { | 9 namespace ui { |
| 10 | 10 |
| 11 void Cursor::RefCustomCursor() { | 11 void Cursor::RefCustomCursor() { |
| 12 if (platform_cursor_) | 12 if (platform_cursor_) |
| 13 CursorFactoryOzone::GetInstance()->RefImageCursor(platform_cursor_); | 13 CursorFactoryOzone::GetInstance()->RefImageCursor(platform_cursor_); |
| 14 } | 14 } |
| 15 | 15 |
| 16 void Cursor::UnrefCustomCursor() { | 16 void Cursor::UnrefCustomCursor() { |
| 17 if (platform_cursor_) | 17 if (platform_cursor_) |
| 18 CursorFactoryOzone::GetInstance()->UnrefImageCursor(platform_cursor_); | 18 CursorFactoryOzone::GetInstance()->UnrefImageCursor(platform_cursor_); |
| 19 } | 19 } |
| 20 | 20 |
| 21 } // namespace ui | 21 } // namespace ui |
| OLD | NEW |