Title: [144688] trunk/Source/WebCore
Revision
144688
Author
[email protected]
Date
2013-03-04 15:36:25 -0800 (Mon, 04 Mar 2013)

Log Message

[chromium] Form controls on composited layers are not painted properly
https://bugs.webkit.org/show_bug.cgi?id=111366

Reviewed by James Robinson.

Set PlatformContextSkia::m_drawingToImageBuffer which is used as a hint to properly blend GDI-painted bitmap.

* platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.cpp:
(WebCore::OpaqueRectTrackingContentLayerDelegate::paintContents):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (144687 => 144688)


--- trunk/Source/WebCore/ChangeLog	2013-03-04 23:25:14 UTC (rev 144687)
+++ trunk/Source/WebCore/ChangeLog	2013-03-04 23:36:25 UTC (rev 144688)
@@ -1,3 +1,15 @@
+2013-03-04  Alok Priyadarshi  <[email protected]>
+
+        [chromium] Form controls on composited layers are not painted properly
+        https://bugs.webkit.org/show_bug.cgi?id=111366
+
+        Reviewed by James Robinson.
+
+        Set PlatformContextSkia::m_drawingToImageBuffer which is used as a hint to properly blend GDI-painted bitmap.
+
+        * platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.cpp:
+        (WebCore::OpaqueRectTrackingContentLayerDelegate::paintContents):
+
 2013-03-04  Simon Fraser  <[email protected]>
 
         Give ViewportConstraints classes copy constructors

Modified: trunk/Source/WebCore/platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.cpp (144687 => 144688)


--- trunk/Source/WebCore/platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.cpp	2013-03-04 23:25:14 UTC (rev 144687)
+++ trunk/Source/WebCore/platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.cpp	2013-03-04 23:36:25 UTC (rev 144688)
@@ -57,6 +57,7 @@
         platformContext.setHintingScaleFactor(canvas->getTotalMatrix().getScaleX());
 #endif
     platformContext.setTrackOpaqueRegion(!m_opaque);
+    platformContext.setDrawingToImageBuffer(!m_opaque);
     GraphicsContext context(&platformContext);
     context.setShouldSmoothFonts(canPaintLCDText && m_opaque);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to