| Index: views/widget/widget_win.cc
|
| diff --git a/views/widget/widget_win.cc b/views/widget/widget_win.cc
|
| index 5cacc9b4868afd68d59170fb3e1f79f3aff4bce2..733006fa29f1e5c2b08ddbb525506513c973e427 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);
|
| }
|
| @@ -435,12 +434,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(
|
|
|