Changeset 179059 in webkit


Ignore:
Timestamp:
Jan 23, 2015, 11:04:01 PM (11 years ago)
Author:
Brent Fulgham
Message:

[Win] Cursor assignment operator is skipping scale factor
https://bugs.webkit.org/show_bug.cgi?id=140852

Reviewed by Chris Dumez.

Found by fast/events/mouse-cursor-image-set.html

  • platform/win/CursorWin.cpp:

(WebCore::Cursor::operator=): Make sure to also assign the
scale factor.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r179058 r179059  
     12015-01-23  Brent Fulgham  <bfulgham@apple.com>
     2
     3        [Win] Cursor assignment operator is skipping scale factor
     4        https://bugs.webkit.org/show_bug.cgi?id=140852
     5
     6        Reviewed by Chris Dumez.
     7
     8        Found by fast/events/mouse-cursor-image-set.html
     9
     10        * platform/win/CursorWin.cpp:
     11        (WebCore::Cursor::operator=): Make sure to also assign the
     12        scale factor.
     13
    1142015-01-23  David Kilzer  <ddkilzer@apple.com>
    215
  • trunk/Source/WebCore/platform/win/CursorWin.cpp

    r179056 r179059  
    285285    m_image = other.m_image;
    286286    m_hotSpot = other.m_hotSpot;
     287#if ENABLE(MOUSE_CURSOR_SCALE)
     288    m_imageScaleFactor = other.m_imageScaleFactor;
     289#endif
    287290    m_platformCursor = other.m_platformCursor;
    288291    return *this;
Note: See TracChangeset for help on using the changeset viewer.