Changeset 84871 in webkit
- Timestamp:
- Apr 25, 2011 8:14:21 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r84867 r84871 1 2011-04-25 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r84864. 4 http://trac.webkit.org/changeset/84864 5 https://bugs.webkit.org/show_bug.cgi?id=59413 6 7 Expect result of use-crash-in-non-wellformed-document.svg is 8 platform dependent (Requested by leoyang on #webkit). 9 10 * svg/custom/use-crash-in-non-wellformed-document-expected.txt: Removed. 11 * svg/custom/use-crash-in-non-wellformed-document.svg: Removed. 12 1 13 2011-04-25 Dirk Pranke <dpranke@chromium.org> 2 14 -
trunk/Source/WebCore/ChangeLog
r84864 r84871 1 2011-04-25 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r84864. 4 http://trac.webkit.org/changeset/84864 5 https://bugs.webkit.org/show_bug.cgi?id=59413 6 7 Expect result of use-crash-in-non-wellformed-document.svg is 8 platform dependent (Requested by leoyang on #webkit). 9 10 * svg/SVGUseElement.cpp: 11 (WebCore::SVGUseElement::insertedIntoDocument): 12 1 13 2011-04-25 Leo Yang <leo.yang@torchmobile.com.cn> 2 14 -
trunk/Source/WebCore/svg/SVGUseElement.cpp
r84864 r84871 128 128 } 129 129 130 static inline bool isWellFormedDocument(Document* document)131 {132 if (document->isSVGDocument() || document->isXHTMLDocument())133 return static_cast<XMLDocumentParser*>(document->parser())->wellFormed();134 return true;135 }136 137 130 void SVGUseElement::insertedIntoDocument() 138 131 { 139 132 // This functions exists to assure assumptions made in the code regarding SVGElementInstance creation/destruction are satisfied. 140 133 SVGStyledTransformableElement::insertedIntoDocument(); 141 ASSERT(!m_targetElementInstance || !isWellFormedDocument(document()));142 ASSERT(!m_isPendingResource || !isWellFormedDocument(document()));134 ASSERT(!m_targetElementInstance || ((document()->isSVGDocument() || document()->isXHTMLDocument()) && !static_cast<XMLDocumentParser*>(document()->parser())->wellFormed())); 135 ASSERT(!m_isPendingResource); 143 136 } 144 137
Note: See TracChangeset
for help on using the changeset viewer.