Changeset 117534 in webkit
- Timestamp:
- May 17, 2012 8:24:44 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r117529 r117534 1 2012-05-17 Hayato Ito <hayato@chromium.org> 2 3 [Shadow DOM] Add an assertion to make sure a visited node is not an active insertion point. 4 https://bugs.webkit.org/show_bug.cgi?id=86708 5 6 Reviewed by Eric Seidel. 7 8 Since InsertionPoint now has isActive() member function, 9 we can add an assertion to ComposedShadowTreeWalker::assertPrecondition() 10 using that function. 11 12 No new tests, no change in behavior. 13 14 * dom/ComposedShadowTreeWalker.h: 15 (WebCore::ComposedShadowTreeWalker::assertPrecondition): 16 1 17 2012-05-17 Ami Fischman <fischman@chromium.org> 2 18 -
trunk/Source/WebCore/dom/ComposedShadowTreeWalker.h
r117394 r117534 28 28 #define ComposedShadowTreeWalker_h 29 29 30 #include "InsertionPoint.h" 30 31 #include "ShadowRoot.h" 31 32 … … 81 82 else 82 83 ASSERT(!m_node->isShadowRoot() || toShadowRoot(m_node)->isYoungest()); 83 // FIXME: Add an assertion once InsertionPoint have isActive() function. 84 // https://bugs.webkit.org/show_bug.cgi?id=82010 85 // ASSERT(!isInsertionPoint(m_node) || !toInsertionPoint(node)->isActive()); 84 ASSERT(!isInsertionPoint(m_node) || !toInsertionPoint(m_node)->isActive()); 86 85 #endif 87 86 }
Note: See TracChangeset
for help on using the changeset viewer.