Title: [211885] trunk/Source/WebCore
Revision
211885
Author
[email protected]
Date
2017-02-08 10:37:13 -0800 (Wed, 08 Feb 2017)

Log Message

No need for CachedFrame to detach custom scrollbars.
<https://webkit.org/b/167995>

Reviewed by Sam Weinig.

Custom scrollbars have already been torn down with the rest of the render tree
by the time we're creating a CachedFrame.

* history/CachedFrame.cpp:
(WebCore::CachedFrame::CachedFrame):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (211884 => 211885)


--- trunk/Source/WebCore/ChangeLog	2017-02-08 18:33:46 UTC (rev 211884)
+++ trunk/Source/WebCore/ChangeLog	2017-02-08 18:37:13 UTC (rev 211885)
@@ -1,3 +1,16 @@
+2017-02-08  Andreas Kling  <[email protected]>
+
+        No need for CachedFrame to detach custom scrollbars.
+        <https://webkit.org/b/167995>
+
+        Reviewed by Sam Weinig.
+
+        Custom scrollbars have already been torn down with the rest of the render tree
+        by the time we're creating a CachedFrame.
+
+        * history/CachedFrame.cpp:
+        (WebCore::CachedFrame::CachedFrame):
+
 2017-02-08  Zalan Bujtas  <[email protected]>
 
         Simple line layout: Fix printReason for unsupported overflow values.

Modified: trunk/Source/WebCore/history/CachedFrame.cpp (211884 => 211885)


--- trunk/Source/WebCore/history/CachedFrame.cpp	2017-02-08 18:33:46 UTC (rev 211884)
+++ trunk/Source/WebCore/history/CachedFrame.cpp	2017-02-08 18:37:13 UTC (rev 211885)
@@ -137,10 +137,6 @@
     ASSERT(m_document);
     ASSERT(m_documentLoader);
     ASSERT(m_view);
-
-    // Custom scrollbar renderers will get reattached when the document comes out of the page cache
-    m_view->detachCustomScrollbars();
-
     ASSERT(m_document->pageCacheState() == Document::InPageCache);
 
     // Create the CachedFrames for all Frames in the FrameTree.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to