Index: Source/WebCore/rendering/RenderObject.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderObject.cpp (revision 119620) |
+++ Source/WebCore/rendering/RenderObject.cpp (working copy) |
@@ -220,7 +220,6 @@ |
RenderObject::~RenderObject() |
{ |
- ASSERT(!node() || documentBeingDestroyed() || !frame()->view() || frame()->view()->layoutRoot() != this); |
#ifndef NDEBUG |
ASSERT(!m_hasAXObject); |
renderObjectCounter.decrement(); |
@@ -2269,7 +2268,7 @@ |
inline void RenderObject::clearLayoutRootIfNeeded() const |
{ |
- if (node() && !documentBeingDestroyed() && frame()) { |
+ if (!documentBeingDestroyed() && frame()) { |
if (FrameView* view = frame()->view()) { |
if (view->layoutRoot() == this) { |
ASSERT_NOT_REACHED(); |