Changeset 183794 in webkit
- Timestamp:
- May 4, 2015 9:29:30 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r183783 r183794 1 2015-05-04 Simon Fraser <simon.fraser@apple.com> 2 3 Fix assertions in WK1 tests after r183777. 4 5 Behavior difference with the change to RenderLayerCompositor::rootBackgroundTransparencyChanged(). 6 7 * platform/mac-wk2/tiled-drawing/background-transparency-toggle-expected.txt: 8 1 9 2015-05-04 Doug Russell <d_russell@apple.com> 2 10 -
trunk/LayoutTests/platform/mac-wk2/tiled-drawing/background-transparency-toggle-expected.txt
r183775 r183794 47 47 (bounds 785.00 648.00) 48 48 (contentsOpaque 1) 49 (backgroundColor #CCCCCC)50 49 (tile cache coverage 0, 0 785 x 648) 51 50 (tile size 512 x 512) -
trunk/Source/WebCore/ChangeLog
r183788 r183794 1 2015-05-04 Simon Fraser <simon.fraser@apple.com> 2 3 Fix assertions in WK1 tests after r183777. 4 5 Two issues with the original change: 6 7 If not in compositing mode, we shouldn't schedule layer flushes, since 8 Document::documentWillSuspendForPageCache() only only calls cancelCompositingLayerUpdate() 9 if in compositing mode. 10 11 Second, RenderLayerCompositor::rootBackgroundTransparencyChanged() never stored the 12 new color, resulting in too many triggered compositing updates. 13 14 * rendering/RenderLayerCompositor.cpp: 15 (WebCore::RenderLayerCompositor::rootBackgroundTransparencyChanged): 16 1 17 2015-05-04 Zalan Bujtas <zalan@apple.com> 2 18 -
trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp
r183775 r183794 3217 3217 void RenderLayerCompositor::rootBackgroundTransparencyChanged() 3218 3218 { 3219 if (!inCompositingMode()) 3220 return; 3221 3219 3222 Color documentBackgroundColor = m_renderView.frameView().documentBackgroundColor(); 3220 3223 if (m_lastDocumentBackgroundColor.isValid() && documentBackgroundColor.hasAlpha() == m_lastDocumentBackgroundColor.hasAlpha()) 3221 3224 return; 3225 3226 m_lastDocumentBackgroundColor = documentBackgroundColor; 3222 3227 3223 3228 // FIXME: We should do something less expensive than a full layer rebuild.
Note: See TracChangeset
for help on using the changeset viewer.