Changeset 69701 in webkit
- Timestamp:
- Oct 13, 2010 3:24:58 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r69700 r69701 1 2010-10-13 Martin Robinson <mrobinson@igalia.com> 2 3 Reviewed by Holger Freyther. 4 5 [GTK] r69681 caused some tests to crash 6 https://bugs.webkit.org/show_bug.cgi?id=47622 7 8 Properly initialize m_layerContext on the ContextShadow so that in situations 9 where beginShadowLayer bails out early with a null return value, it is set 10 to null. This may happen when the first call to beginShadowLayer on a particular 11 ContextShadow uses a region which is entirely outside the clip region or which 12 is empty. 13 14 * platform/graphics/cairo/ContextShadow.cpp: 15 (WebCore::ContextShadow::ContextShadow): Properly initialize m_layerContext. 16 1 17 2010-10-13 Anders Carlsson <andersca@apple.com> 2 18 -
trunk/WebCore/platform/graphics/ContextShadow.cpp
r69223 r69701 41 41 : m_type(NoShadow) 42 42 , m_blurDistance(0) 43 , m_layerContext(0) 43 44 { 44 45 } … … 48 49 , m_blurDistance(round(radius)) 49 50 , m_offset(offset) 51 , m_layerContext(0) 50 52 { 51 53 // See comments in http://webkit.org/b/40793, it seems sensible
Note: See TracChangeset
for help on using the changeset viewer.