Index: content/browser/renderer_host/render_widget_host_view_aura.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc |
index 3e4916502ec13ec9e8125b4c5bf0c69aaef1754d..94d72f2215c343d064dce218f742f1e1d442a094 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc |
@@ -1501,7 +1501,7 @@ void RenderWidgetHostViewAura::OnBoundsChanged(const gfx::Rect& old_bounds, |
gfx::NativeCursor RenderWidgetHostViewAura::GetCursor(const gfx::Point& point) { |
if (mouse_locked_) |
- return ui::kCursorNone; |
+ return ui::CursorType::kNone; |
return current_cursor_.GetNativeCursor(); |
} |
@@ -2009,8 +2009,8 @@ void RenderWidgetHostViewAura::UpdateCursorIfOverSelf() { |
gfx::NativeCursor cursor = current_cursor_.GetNativeCursor(); |
// Do not show loading cursor when the cursor is currently hidden. |
- if (is_loading_ && cursor != ui::kCursorNone) |
- cursor = ui::kCursorPointer; |
+ if (is_loading_ && cursor != ui::CursorType::kNone) |
+ cursor = ui::Cursor(ui::CursorType::kPointer); |
aura::client::CursorClient* cursor_client = |
aura::client::GetCursorClient(root_window); |