Changeset 140063 in webkit
- Timestamp:
- Jan 17, 2013 4:04:37 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r140062 r140063 1 2013-01-17 Huang Dongsung <luxtella@company100.net> 2 3 [TexMap] Match initializing members in GraphicsLayerTransform to initializing members in GraphicsLayer. 4 https://bugs.webkit.org/show_bug.cgi?id=107090 5 6 Reviewed by Noam Rosenthal. 7 8 GraphicsLayer initializes m_anchorPoint to FloatPoint3D(0.5, 0.5, 0) and 9 m_preserves3D to false, while GraphicsLayerTransform initializes m_anchorPoint 10 to FloatPoint3D(0, 0, 0) and m_flattening (= !m_preserves3D) to false. It is a 11 potential bug. This patch corrects initialization of GraphicsLayerTransform. 12 13 Covered by existing compositing pixel tests. 14 15 * platform/graphics/GraphicsLayerTransform.cpp: 16 (WebCore::GraphicsLayerTransform::GraphicsLayerTransform): 17 1 18 2013-01-17 Filip Pizlo <fpizlo@apple.com> 2 19 -
trunk/Source/WebCore/platform/graphics/GraphicsLayerTransform.cpp
r138487 r140063 24 24 25 25 GraphicsLayerTransform::GraphicsLayerTransform() 26 : m_flattening(false) 26 : m_anchorPoint(0.5, 0.5, 0) 27 , m_flattening(true) 27 28 , m_dirty(false) // false by default since all default values would be combined as the identity matrix 28 29 , m_childrenDirty(false)
Note: See TracChangeset
for help on using the changeset viewer.