Title: [107307] trunk/Source/WebKit2
- Revision
- 107307
- Author
- [email protected]
- Date
- 2012-02-09 16:36:09 -0800 (Thu, 09 Feb 2012)
Log Message
HiDPI: WebKit2's drag images are blurry
https://bugs.webkit.org/show_bug.cgi?id=67779
Use the proper deviceScaleFactor() instead of accessing _intrinsicDeviceScaleFactor
Reviewed by Beth Dakin.
* UIProcess/API/mac/WKView.mm:
(-[WKView _setDragImage:at:linkDrag:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (107306 => 107307)
--- trunk/Source/WebKit2/ChangeLog 2012-02-10 00:35:43 UTC (rev 107306)
+++ trunk/Source/WebKit2/ChangeLog 2012-02-10 00:36:09 UTC (rev 107307)
@@ -1,3 +1,15 @@
+2012-02-09 Matthew Delaney <[email protected]>
+
+ HiDPI: WebKit2's drag images are blurry
+ https://bugs.webkit.org/show_bug.cgi?id=67779
+
+ Use the proper deviceScaleFactor() instead of accessing _intrinsicDeviceScaleFactor
+
+ Reviewed by Beth Dakin.
+
+ * UIProcess/API/mac/WKView.mm:
+ (-[WKView _setDragImage:at:linkDrag:]):
+
2012-02-09 Alexey Proskuryakov <[email protected]>
[WK2] Allow reading some debug-only preference files
Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm (107306 => 107307)
--- trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm 2012-02-10 00:35:43 UTC (rev 107306)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm 2012-02-10 00:36:09 UTC (rev 107307)
@@ -2562,7 +2562,7 @@
_data->_dragHasStarted = YES;
IntSize size([image size]);
- size.scale(1.0 / [self _intrinsicDeviceScaleFactor]);
+ size.scale(1.0 / _data->_page->deviceScaleFactor());
[image setSize:size];
// The call to super could release this WKView.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes