Title: [179059] trunk/Source/WebCore
Revision
179059
Author
[email protected]
Date
2015-01-23 23:04:01 -0800 (Fri, 23 Jan 2015)

Log 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.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (179058 => 179059)


--- trunk/Source/WebCore/ChangeLog	2015-01-24 05:36:59 UTC (rev 179058)
+++ trunk/Source/WebCore/ChangeLog	2015-01-24 07:04:01 UTC (rev 179059)
@@ -1,3 +1,16 @@
+2015-01-23  Brent Fulgham  <[email protected]>
+
+        [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.
+
 2015-01-23  David Kilzer  <[email protected]>
 
         [iOS] Attempt to fix the build after AVValueTiming.h moved

Modified: trunk/Source/WebCore/platform/win/CursorWin.cpp (179058 => 179059)


--- trunk/Source/WebCore/platform/win/CursorWin.cpp	2015-01-24 05:36:59 UTC (rev 179058)
+++ trunk/Source/WebCore/platform/win/CursorWin.cpp	2015-01-24 07:04:01 UTC (rev 179059)
@@ -284,6 +284,9 @@
     m_type = other.m_type;
     m_image = other.m_image;
     m_hotSpot = other.m_hotSpot;
+#if ENABLE(MOUSE_CURSOR_SCALE)
+    m_imageScaleFactor = other.m_imageScaleFactor;
+#endif
     m_platformCursor = other.m_platformCursor;
     return *this;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to