Changeset 109356 in webkit
- Timestamp:
- Mar 1, 2012, 9:52:00 AM (15 years ago)
- Location:
- branches/chromium/1025
- Files:
-
- 2 edited
- 4 copied
-
LayoutTests/fast/dom/getElementById-consistency-expected.txt (copied) (copied from trunk/LayoutTests/fast/dom/getElementById-consistency-expected.txt )
-
LayoutTests/fast/dom/getElementById-consistency.html (copied) (copied from trunk/LayoutTests/fast/dom/getElementById-consistency.html )
-
LayoutTests/fast/dom/getElementById-consistency2-expected.txt (copied) (copied from trunk/LayoutTests/fast/dom/getElementById-consistency2-expected.txt )
-
LayoutTests/fast/dom/getElementById-consistency2.html (copied) (copied from trunk/LayoutTests/fast/dom/getElementById-consistency2.html )
-
Source/WebCore/dom/ContainerNode.cpp (modified) (1 diff)
-
Source/WebCore/svg/SVGTRefElement.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/chromium/1025/Source/WebCore/dom/ContainerNode.cpp
r107343 r109356 480 480 removeBetween(prev, next, child.get()); 481 481 482 // Dispatch post-removal mutation events483 childrenChanged(false, prev, next, -1);484 dispatchSubtreeModifiedEvent();485 486 482 if (child->inDocument()) 487 483 child->removedFromDocument(); 488 484 else 489 485 child->removedFromTree(true); 486 487 // Dispatch post-removal mutation events 488 childrenChanged(false, prev, next, -1); 489 dispatchSubtreeModifiedEvent(); 490 490 491 491 return child; -
branches/chromium/1025/Source/WebCore/svg/SVGTRefElement.cpp
r96707 r109356 147 147 void SVGTRefElement::updateReferencedText() 148 148 { 149 Element* target = SVGURIReference::targetElementFromIRIString(href(), document());150 ASSERT(target);151 149 String textContent; 152 if ( target->parentNode())150 if (Element* target = SVGURIReference::targetElementFromIRIString(href(), document())) 153 151 textContent = target->textContent(); 154 152 ExceptionCode ignore = 0;
Note:
See TracChangeset
for help on using the changeset viewer.