Changeset 101995 in webkit
- Timestamp:
- Dec 5, 2011 6:46:36 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r101987 r101995 1 2011-12-05 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r101983. 4 http://trac.webkit.org/changeset/101983 5 https://bugs.webkit.org/show_bug.cgi?id=73827 6 7 It broke all tests on GTK and on Qt in debug mode (Requested 8 by Ossy on #webkit). 9 10 * dom/Document.h: 11 (WebCore::Node::Node): 12 * dom/Node.cpp: 13 (WebCore::Node::~Node): 14 * dom/Node.h: 15 (WebCore::Node::inDocument): 16 1 17 2011-12-05 Roland Steiner <rolandsteiner@chromium.org> 2 18 -
trunk/Source/WebCore/dom/Document.h
r101983 r101995 1450 1450 , m_renderer(0) 1451 1451 { 1452 if ( document)1453 document->guardRef();1452 if (m_document) 1453 m_document->guardRef(); 1454 1454 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS) 1455 1455 trackForDebugging(); -
trunk/Source/WebCore/dom/Node.cpp
r101983 r101995 405 405 detach(); 406 406 407 Document* doc = document(); 408 if (AXObjectCache::accessibilityEnabled() && doc && doc->axObjectCacheExists()) 409 doc->axObjectCache()->removeNodeForUse(this); 407 if (AXObjectCache::accessibilityEnabled() && m_document && m_document->axObjectCacheExists()) 408 m_document->axObjectCache()->removeNodeForUse(this); 410 409 411 410 if (m_previous) … … 414 413 m_next->setPreviousSibling(0); 415 414 416 if ( doc)417 doc->guardDeref();415 if (m_document) 416 m_document->guardDeref(); 418 417 } 419 418 -
trunk/Source/WebCore/dom/Node.h
r101983 r101995 389 389 bool inDocument() const 390 390 { 391 ASSERT( document()|| !getFlag(InDocumentFlag));391 ASSERT(m_document || !getFlag(InDocumentFlag)); 392 392 return getFlag(InDocumentFlag); 393 393 }
Note: See TracChangeset
for help on using the changeset viewer.