REGRESSION (r184968): missing media player buttons (control bar exists, but no buttons)
[WebKit-https.git] / Source / WebCore / ChangeLog
index aa5246f..f26a17d 100644 (file)
@@ -1,5 +1,24 @@
 2015-06-03  Simon Fraser  <simon.fraser@apple.com>
 
+        REGRESSION (r184968): missing media player buttons (control bar exists, but no buttons)
+        https://bugs.webkit.org/show_bug.cgi?id=145630
+
+        Reviewed by Zalan Bujtas.
+
+        r184968 changed the initial value of m_intersectsCoverageRect to false. However,
+        this triggered a bug with mask layers, whose value of m_intersectsCoverageRect was never
+        updated.
+
+        Fix by copying the value of m_intersectsCoverageRect from the main layer to its
+        mask layer, just as we do for m_visibleRect and m_coverageRect.
+
+        Test: compositing/visible-rect/mask-layer-coverage.html
+
+        * platform/graphics/ca/GraphicsLayerCA.cpp:
+        (WebCore::GraphicsLayerCA::setVisibleAndCoverageRects):
+
+2015-06-03  Simon Fraser  <simon.fraser@apple.com>
+
         Layer tree dumps should include mask layers
         https://bugs.webkit.org/show_bug.cgi?id=145629