Changeset 112573 in webkit
- Timestamp:
- Mar 29, 2012 1:57:37 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r112572 r112573 1 2012-03-29 Anders Carlsson <andersca@apple.com> 2 3 Images that reload via media queries don't paint when device scale factor changes 4 https://bugs.webkit.org/show_bug.cgi?id=82648 5 <rdar://problem/11143637> 6 7 Reviewed by Beth Dakin. 8 9 Commit scale factor changes before dirty rect changes, since setting the scale factor 10 can lead to more rects being dirtied when using the tile cache. 11 12 * platform/graphics/ca/GraphicsLayerCA.cpp: 13 (WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers): 14 1 15 2012-03-29 Adam Barth <abarth@webkit.org> 2 16 -
trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
r112555 r112573 1042 1042 if (m_uncommittedChanges & AnimationChanged) 1043 1043 updateLayerAnimations(); 1044 1044 1045 // Updating the contents scale can cause parts of the layer to be invalidated, 1046 // so make sure to update the contents scale before updating the dirty rects. 1047 if (m_uncommittedChanges & ContentsScaleChanged) 1048 updateContentsScale(pageScaleFactor, positionRelativeToBase); 1049 1045 1050 if (m_uncommittedChanges & DirtyRectsChanged) 1046 1051 repaintLayerDirtyRects(); … … 1057 1062 if (m_uncommittedChanges & AcceleratesDrawingChanged) 1058 1063 updateAcceleratesDrawing(); 1059 1060 if (m_uncommittedChanges & ContentsScaleChanged)1061 updateContentsScale(pageScaleFactor, positionRelativeToBase);1062 1064 } 1063 1065
Note: See TracChangeset
for help on using the changeset viewer.