Title: [119726] trunk/Source/WebKit/gtk
- Revision
- 119726
- Author
- [email protected]
- Date
- 2012-06-07 08:24:32 -0700 (Thu, 07 Jun 2012)
Log Message
[GTK] deviceScaleFactor setting is not honored
https://bugs.webkit.org/show_bug.cgi?id=88511
Patch by Simon Pena <[email protected]> on 2012-06-07
Reviewed by Gustavo Noronha Silva.
Honor the deviceScaleFactor property in the paintWebView
method of the ChromeClientGtk.
* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::paintWebView):
Modified Paths
Diff
Modified: trunk/Source/WebKit/gtk/ChangeLog (119725 => 119726)
--- trunk/Source/WebKit/gtk/ChangeLog 2012-06-07 15:09:22 UTC (rev 119725)
+++ trunk/Source/WebKit/gtk/ChangeLog 2012-06-07 15:24:32 UTC (rev 119726)
@@ -1,3 +1,16 @@
+2012-06-07 Simon Pena <[email protected]>
+
+ [GTK] deviceScaleFactor setting is not honored
+ https://bugs.webkit.org/show_bug.cgi?id=88511
+
+ Reviewed by Gustavo Noronha Silva.
+
+ Honor the deviceScaleFactor property in the paintWebView
+ method of the ChromeClientGtk.
+
+ * WebCoreSupport/ChromeClientGtk.cpp:
+ (WebKit::paintWebView):
+
2012-06-04 Sudarsana Nagineni <[email protected]>
[GTK] Memory leak in WebKitWebView
Modified: trunk/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp (119725 => 119726)
--- trunk/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp 2012-06-07 15:09:22 UTC (rev 119725)
+++ trunk/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp 2012-06-07 15:24:32 UTC (rev 119726)
@@ -514,6 +514,7 @@
RefPtr<cairo_t> backingStoreContext = adoptRef(cairo_create(webView->priv->backingStore->cairoSurface()));
GraphicsContext gc(backingStoreContext.get());
+ gc.applyDeviceScaleFactor(frame->page()->deviceScaleFactor());
for (size_t i = 0; i < rects.size(); i++) {
const IntRect& rect = rects[i];
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes