Title: [212687] branches/safari-603-branch/Source/WebCore

Diff

Modified: branches/safari-603-branch/Source/WebCore/ChangeLog (212686 => 212687)


--- branches/safari-603-branch/Source/WebCore/ChangeLog	2017-02-21 00:35:08 UTC (rev 212686)
+++ branches/safari-603-branch/Source/WebCore/ChangeLog	2017-02-21 00:53:59 UTC (rev 212687)
@@ -1,5 +1,9 @@
 2017-02-20  Matthew Hanson  <[email protected]>
 
+        Rollout r212601. rdar://problem/30339638
+
+2017-02-20  Matthew Hanson  <[email protected]>
+
         Rollout r212660. rdar://problem/30553220
 
 2017-02-20  Matthew Hanson  <[email protected]>

Modified: branches/safari-603-branch/Source/WebCore/dom/Document.cpp (212686 => 212687)


--- branches/safari-603-branch/Source/WebCore/dom/Document.cpp	2017-02-21 00:35:08 UTC (rev 212686)
+++ branches/safari-603-branch/Source/WebCore/dom/Document.cpp	2017-02-21 00:53:59 UTC (rev 212687)
@@ -2227,13 +2227,6 @@
     observeFrame(nullptr);
 }
 
-void Document::didBecomeCurrentDocumentInView()
-{
-    ASSERT(view());
-    if (!hasLivingRenderTree())
-        createRenderTree();
-}
-
 void Document::frameDestroyed()
 {
     // disconnectFromFrame() must be called before destroying the Frame.

Modified: branches/safari-603-branch/Source/WebCore/dom/Document.h (212686 => 212687)


--- branches/safari-603-branch/Source/WebCore/dom/Document.h	2017-02-21 00:35:08 UTC (rev 212686)
+++ branches/safari-603-branch/Source/WebCore/dom/Document.h	2017-02-21 00:53:59 UTC (rev 212687)
@@ -566,7 +566,6 @@
     void destroyRenderTree();
     void disconnectFromFrame();
     void prepareForDestruction();
-    void didBecomeCurrentDocumentInView();
 
     // Override ScriptExecutionContext methods to do additional work
     bool shouldBypassMainWorldContentSecurityPolicy() const final;

Modified: branches/safari-603-branch/Source/WebCore/page/Frame.cpp (212686 => 212687)


--- branches/safari-603-branch/Source/WebCore/page/Frame.cpp	2017-02-21 00:35:08 UTC (rev 212686)
+++ branches/safari-603-branch/Source/WebCore/page/Frame.cpp	2017-02-21 00:53:59 UTC (rev 212687)
@@ -256,15 +256,8 @@
     if (m_eventHandler)
         m_eventHandler->clear();
 
-    bool hadLivingRenderTree = m_doc ? m_doc->hasLivingRenderTree() : false;
-    if (hadLivingRenderTree)
-        m_doc->destroyRenderTree();
-
     m_view = WTFMove(view);
 
-    if (hadLivingRenderTree && m_view)
-        m_doc->didBecomeCurrentDocumentInView();
-    
     // Only one form submission is allowed per view of a part.
     // Since this part may be getting reused as a result of being
     // pulled from the back/forward cache, reset this flag.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to