Title: [224646] trunk/Source/WebCore
Revision
224646
Author
[email protected]
Date
2017-11-09 14:03:19 -0800 (Thu, 09 Nov 2017)

Log Message

[LayoutState cleanup] Remove redundant LayoutState c'tor
https://bugs.webkit.org/show_bug.cgi?id=179505
<rdar://problem/35450650>

Reviewed by Antti Koivisto.

No change in functionality.

* rendering/LayoutState.cpp:
* rendering/LayoutState.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (224645 => 224646)


--- trunk/Source/WebCore/ChangeLog	2017-11-09 21:09:24 UTC (rev 224645)
+++ trunk/Source/WebCore/ChangeLog	2017-11-09 22:03:19 UTC (rev 224646)
@@ -1,3 +1,16 @@
+2017-11-09  Zalan Bujtas  <[email protected]>
+
+        [LayoutState cleanup] Remove redundant LayoutState c'tor
+        https://bugs.webkit.org/show_bug.cgi?id=179505
+        <rdar://problem/35450650>
+
+        Reviewed by Antti Koivisto.
+
+        No change in functionality.
+
+        * rendering/LayoutState.cpp:
+        * rendering/LayoutState.h:
+
 2017-11-09  Youenn Fablet  <[email protected]>
 
         FetchResponse should set the mime type of its internal ResourceResponse

Modified: trunk/Source/WebCore/rendering/LayoutState.cpp (224645 => 224646)


--- trunk/Source/WebCore/rendering/LayoutState.cpp	2017-11-09 21:09:24 UTC (rev 224645)
+++ trunk/Source/WebCore/rendering/LayoutState.cpp	2017-11-09 22:03:19 UTC (rev 224646)
@@ -281,11 +281,6 @@
         m_context.disablePaintOffsetCache();
 }
 
-LayoutStateMaintainer::LayoutStateMaintainer(LayoutContext& context)
-    : m_context(context)
-{
-}
-
 LayoutStateMaintainer::~LayoutStateMaintainer()
 {
     // FIXME: Remove conditional pop.

Modified: trunk/Source/WebCore/rendering/LayoutState.h (224645 => 224646)


--- trunk/Source/WebCore/rendering/LayoutState.h	2017-11-09 21:09:24 UTC (rev 224645)
+++ trunk/Source/WebCore/rendering/LayoutState.h	2017-11-09 22:03:19 UTC (rev 224646)
@@ -138,10 +138,7 @@
 class LayoutStateMaintainer {
     WTF_MAKE_NONCOPYABLE(LayoutStateMaintainer);
 public:
-    // Constructor to push now.
     explicit LayoutStateMaintainer(RenderBox&, LayoutSize offset, bool disableState = false, LayoutUnit pageHeight = 0, bool pageHeightChanged = false);
-    // Constructor to maybe push later.
-    explicit LayoutStateMaintainer(LayoutContext&);
     ~LayoutStateMaintainer();
 
     void pop();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to