Changeset 118459 in webkit


Ignore:
Timestamp:
May 24, 2012, 6:49:40 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Unreviewed, rolling out r118452.
http://trac.webkit.org/changeset/118452
https://bugs.webkit.org/show_bug.cgi?id=87446

Causes many tests to assert on Mac, NRWT bails out (Requested
by sundiamonde on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-24

  • rendering/RenderObject.cpp:

(WebCore::RenderObject::~RenderObject):
(WebCore::RenderObject::clearLayoutRootIfNeeded):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r118456 r118459  
     12012-05-24  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r118452.
     4        http://trac.webkit.org/changeset/118452
     5        https://bugs.webkit.org/show_bug.cgi?id=87446
     6
     7        Causes many tests to assert on Mac, NRWT bails out (Requested
     8        by sundiamonde on #webkit).
     9
     10        * rendering/RenderObject.cpp:
     11        (WebCore::RenderObject::~RenderObject):
     12        (WebCore::RenderObject::clearLayoutRootIfNeeded):
     13
    1142012-05-24  Kevin Ollivier  <kevino@theolliviers.com>
    215
  • trunk/Source/WebCore/rendering/RenderObject.cpp

    r118452 r118459  
    220220RenderObject::~RenderObject()
    221221{
    222     ASSERT(documentBeingDestroyed() || !frame()->view() || frame()->view()->layoutRoot() != this);
     222    ASSERT(!node() || documentBeingDestroyed() || !frame()->view() || frame()->view()->layoutRoot() != this);
    223223#ifndef NDEBUG
    224224    ASSERT(!m_hasAXObject);
     
    22612261inline void RenderObject::clearLayoutRootIfNeeded() const
    22622262{
    2263     if (!documentBeingDestroyed() && frame()) {
     2263    if (node() && !documentBeingDestroyed() && frame()) {
    22642264        if (FrameView* view = frame()->view()) {
    22652265            if (view->layoutRoot() == this) {
Note: See TracChangeset for help on using the changeset viewer.