Index: views/widget/widget_win.cc |
diff --git a/views/widget/widget_win.cc b/views/widget/widget_win.cc |
index edecafb024041ae883c54c713dd6e27fbaab968d..8b15bf3adb1e66d964868455efd0722b17008223 100644 |
--- a/views/widget/widget_win.cc |
+++ b/views/widget/widget_win.cc |
@@ -145,7 +145,6 @@ WidgetWin::WidgetWin() |
restore_focus_when_enabled_(false), |
accessibility_view_events_index_(-1), |
accessibility_view_events_(kMaxAccessibilityViewEvents), |
- previous_cursor_(NULL), |
is_input_method_win_(false) { |
set_native_widget(this); |
} |
@@ -492,12 +491,7 @@ void WidgetWin::SchedulePaintInRect(const gfx::Rect& rect) { |
} |
void WidgetWin::SetCursor(gfx::NativeCursor cursor) { |
- if (cursor) { |
- previous_cursor_ = ::SetCursor(cursor); |
- } else if (previous_cursor_) { |
- ::SetCursor(previous_cursor_); |
- previous_cursor_ = NULL; |
- } |
+ ::SetCursor(cursor); |
} |
void WidgetWin::NotifyAccessibilityEvent( |