Changeset 29011 in webkit


Ignore:
Timestamp:
Dec 27, 2007, 11:50:44 PM (18 years ago)
Author:
mitz@apple.com
Message:

Reviewed by Alexey Proskuryakov.

  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::~RenderLayer): Avoid calling EventHandler::resizeLayerDestroyed() if the document is being destroyed.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r29010 r29011  
     12007-12-27  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Alexey Proskuryakov.
     4
     5        - fix http://bugs.webkit.org/show_bug.cgi?id=16628
     6          ASSERTION FAILED: m_resizeLayer (running layout tests)
     7
     8        * rendering/RenderLayer.cpp:
     9        (WebCore::RenderLayer::~RenderLayer): Avoid calling
     10        EventHandler::resizeLayerDestroyed() if the document is being destroyed.
     11
    1122007-12-27  Dan Bernstein  <mitz@apple.com>
    213
  • trunk/WebCore/rendering/RenderLayer.cpp

    r29010 r29011  
    161161RenderLayer::~RenderLayer()
    162162{
    163     if (inResizeMode()) {
     163    if (inResizeMode() && !renderer()->documentBeingDestroyed()) {
    164164        if (Frame* frame = renderer()->document()->frame())
    165165            frame->eventHandler()->resizeLayerDestroyed();
Note: See TracChangeset for help on using the changeset viewer.