Changeset 181434 in webkit
- Timestamp:
- Mar 11, 2015 11:37:53 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r181428 r181434 1 2015-03-11 Joseph Pecoraro <pecoraro@apple.com> 2 3 Unreviewed follow-up fix to r181426. Initialize TextPosition with zeros in case it gets used. 4 5 Address ASSERT in LayoutTests/printing/page-format-data.html. 6 7 * dom/InlineStyleSheetOwner.cpp: 8 (WebCore::InlineStyleSheetOwner::InlineStyleSheetOwner): 9 In case the TextPosition gets used because it wasn't created by a parser, 10 zeros are more realistic values then beforeFirst. 11 1 12 2015-03-11 Roger Fong <roger_fong@apple.com> 2 13 -
trunk/Source/WebCore/dom/InlineStyleSheetOwner.cpp
r181426 r181434 36 36 : m_isParsingChildren(createdByParser) 37 37 , m_loading(false) 38 , m_startTextPosition( WTF::OrdinalNumber::beforeFirst(), WTF::OrdinalNumber::beforeFirst())38 , m_startTextPosition() 39 39 { 40 40 if (createdByParser && document.scriptableDocumentParser() && !document.isInDocumentWrite())
Note: See TracChangeset
for help on using the changeset viewer.