Changeset 142029 in webkit
- Timestamp:
- Feb 6, 2013 1:49:48 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r142028 r142029 1 2013-02-06 Tony Gentilcore <tonyg@chromium.org> 2 3 Fix CompactHTMLToken's copy ctor to copy all fields 4 https://bugs.webkit.org/show_bug.cgi?id=109076 5 6 Reviewed by Adam Barth. 7 8 This was introduced by me in r142004. Without this patch we fail all tests when using the background parser. 9 10 Also don't use getters in copy ctor. 11 12 No new tests because no new functionality. 13 14 * html/parser/CompactHTMLToken.cpp: 15 (WebCore::CompactHTMLToken::CompactHTMLToken): 16 1 17 2013-02-06 Brian Salomon <bsalomon@google.com> 2 18 -
trunk/Source/WebCore/html/parser/CompactHTMLToken.cpp
r142004 r142029 90 90 91 91 CompactHTMLToken::CompactHTMLToken(const CompactHTMLToken& other) 92 : m_type(other.type()) 93 , m_isAll8BitData(other.isAll8BitData()) 94 , m_doctypeForcesQuirks(other.doctypeForcesQuirks()) 95 , m_textPosition(other.textPosition()) 92 : m_type(other.m_type) 93 , m_selfClosing(other.m_selfClosing) 94 , m_isAll8BitData(other.m_isAll8BitData) 95 , m_doctypeForcesQuirks(other.m_doctypeForcesQuirks) 96 , m_data(other.m_data) 97 , m_attributes(other.m_attributes) 98 , m_textPosition(other.m_textPosition) 96 99 { 97 if (other. xssInfo())98 m_xssInfo = adoptPtr(new XSSInfo(*other. xssInfo()));100 if (other.m_xssInfo) 101 m_xssInfo = adoptPtr(new XSSInfo(*other.m_xssInfo)); 99 102 } 100 103
Note: See TracChangeset
for help on using the changeset viewer.