Title: [99091] trunk/Source/WebKit2
- Revision
- 99091
- Author
- [email protected]
- Date
- 2011-11-02 13:12:16 -0700 (Wed, 02 Nov 2011)
Log Message
Fix non-Mac builds.
* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::snapshot):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (99090 => 99091)
--- trunk/Source/WebKit2/ChangeLog 2011-11-02 20:05:54 UTC (rev 99090)
+++ trunk/Source/WebKit2/ChangeLog 2011-11-02 20:12:16 UTC (rev 99091)
@@ -1,5 +1,12 @@
2011-11-02 Anders Carlsson <[email protected]>
+ Fix non-Mac builds.
+
+ * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
+ (WebKit::NetscapePlugin::snapshot):
+
+2011-11-02 Anders Carlsson <[email protected]>
+
Plug-in snapshots are blurry in HiDPI
https://bugs.webkit.org/show_bug.cgi?id=71387
<rdar://problem/10385393>
Modified: trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp (99090 => 99091)
--- trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp 2011-11-02 20:05:54 UTC (rev 99090)
+++ trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp 2011-11-02 20:12:16 UTC (rev 99091)
@@ -646,7 +646,9 @@
ASSERT(m_isStarted);
IntSize backingStoreSize = m_pluginSize;
+#if PLATFORM(MAC)
backingStoreSize.scale(contentsScaleFactor());
+#endif
RefPtr<ShareableBitmap> bitmap = ShareableBitmap::createShareable(backingStoreSize, ShareableBitmap::SupportsAlpha);
OwnPtr<GraphicsContext> context = bitmap->createGraphicsContext();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes