Title: [218462] trunk/Source/WebCore
Revision
218462
Author
[email protected]
Date
2017-06-17 20:57:26 -0700 (Sat, 17 Jun 2017)

Log Message

Addressing post-review comment after r218456.
https://bugs.webkit.org/show_bug.cgi?id=173509

Reviewed by Darin Adler.

* dom/Document.cpp:
(WebCore::Document::destroyRenderTree):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (218461 => 218462)


--- trunk/Source/WebCore/ChangeLog	2017-06-18 01:36:07 UTC (rev 218461)
+++ trunk/Source/WebCore/ChangeLog	2017-06-18 03:57:26 UTC (rev 218462)
@@ -1,3 +1,13 @@
+2017-06-17  Zalan Bujtas  <[email protected]>
+
+        Addressing post-review comment after r218456.
+        https://bugs.webkit.org/show_bug.cgi?id=173509
+
+        Reviewed by Darin Adler.
+
+        * dom/Document.cpp:
+        (WebCore::Document::destroyRenderTree):
+
 2017-06-17  Chris Dumez  <[email protected]>
 
         DOMQuad::getBounds() should return a Ref<>

Modified: trunk/Source/WebCore/dom/Document.cpp (218461 => 218462)


--- trunk/Source/WebCore/dom/Document.cpp	2017-06-18 01:36:07 UTC (rev 218461)
+++ trunk/Source/WebCore/dom/Document.cpp	2017-06-18 03:57:26 UTC (rev 218462)
@@ -2215,7 +2215,8 @@
 void Document::destroyRenderTree()
 {
     ASSERT(hasLivingRenderTree());
-    ASSERT(frame() && frame()->document() == this);
+    ASSERT(frame());
+    ASSERT(frame()->document() == this);
     ASSERT(page());
 
     // Prevent Widget tree changes from committing until the RenderView is dead and gone.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to