Changeset 32907 in webkit
- Timestamp:
- May 6, 2008 10:32:54 AM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r32906 r32907 1 2008-05-06 Jonathan Haas <myrdred@gmail.com> 2 3 Reviewed by Rob Buis. 4 5 https://bugs.webkit.org/show_bug.cgi?id=18859\ 6 Prevented SVGRootInlineBox from static_casting a 7 node to a class it doesn't inherit 8 9 * rendering/SVGRootInlineBox.cpp: 10 (WebCore::SVGRootInlineBox::buildTextChunks): 11 1 12 2008-05-06 Brady Eidson <beidson@apple.com> 2 13 -
trunk/WebCore/rendering/SVGRootInlineBox.cpp
r32508 r32907 1381 1381 SVGTextContentElement* textContent = 0; 1382 1382 Node* node = text->element()->parent(); 1383 if (node && node->isSVGElement()) 1384 textContent = static_cast<SVGTextContentElement*>(node); 1383 while (node && node->isSVGElement() && !textContent) { 1384 if (static_cast<SVGElement*>(node)->isTextContent()) 1385 textContent = static_cast<SVGTextContentElement*>(node); 1386 else 1387 node = node->parentNode(); 1388 } 1385 1389 ASSERT(textContent); 1386 1390
Note: See TracChangeset
for help on using the changeset viewer.