Reviewed by Dave Hyatt.
authormitz <mitz@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Oct 2007 03:48:40 +0000 (03:48 +0000)
committermitz <mitz@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Oct 2007 03:48:40 +0000 (03:48 +0000)
        - fix crashing tests fast/frames/inline-object-inside-frameset.html and
          fast/forms/form-hides-table.html

        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::destroy):
        * rendering/RenderWidget.cpp:
        (WebCore::RenderWidget::destroy):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27253 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/rendering/RenderBox.cpp
WebCore/rendering/RenderWidget.cpp

index e3cb347f91cb81b8907bf49fc98cadfa94b9f12a..937b631d290bf96d83e5c262627decf299afda22 100644 (file)
@@ -1,3 +1,15 @@
+2007-10-29  Dan Bernstein  <mitz@apple.com>
+
+        Reviewed by Dave Hyatt.
+
+        - fix crashing tests fast/frames/inline-object-inside-frameset.html and
+          fast/forms/form-hides-table.html
+
+        * rendering/RenderBox.cpp:
+        (WebCore::RenderBox::destroy):
+        * rendering/RenderWidget.cpp:
+        (WebCore::RenderWidget::destroy):
+
 2007-10-29  Dan Bernstein  <mitz@apple.com>
 
         Reviewed by Adam Roben.
index 5128233a0f5ed5034e1d247e6dfa44256981ece9..d50b7830476f2ebc418cdc65af873fd91a471b49 100644 (file)
@@ -165,9 +165,6 @@ void RenderBox::destroy()
     // A lot of the code in this funtion is just pasted into
     // RenderWidget::destroy. If anything in this function changes,
     // be sure to fix RenderWidget::destroy() as well.
-    if (style()->transitions())
-        animationController()->cancelTransitions(this);
-
     if (hasOverrideSize())
         gOverrideSizeMap->remove(this);
 
index 5994eab6ee5afa312750a0d5c7ed817eaf9fcdfa..d49c1240cf2c05aeafd8cafdf0197f939520c509 100644 (file)
@@ -72,9 +72,6 @@ void RenderWidget::destroy()
     // So the code below includes copied and pasted contents of
     // both RenderBox::destroy() and RenderObject::destroy().
     // Fix originally made for <rdar://problem/4228818>.
-    if (style()->transitions())
-        animationController()->cancelTransitions(this);
-
     if (RenderView* v = view())
         v->removeWidget(this);