Title: [281805] trunk/Source/WebCore
Revision
281805
Author
[email protected]
Date
2021-08-31 08:43:07 -0700 (Tue, 31 Aug 2021)

Log Message

[LFC][Integration] Remove unused LayoutIntegation::Run functions
https://bugs.webkit.org/show_bug.cgi?id=229711

Reviewed by Antti Koivisto.

* layout/integration/LayoutIntegrationRun.h:
(WebCore::LayoutIntegration::Run::image const): Deleted.
(WebCore::LayoutIntegration::Run::hasUnderlyingLayout const): Deleted.
* layout/integration/LayoutIntegrationRunIteratorModernPath.h:
(WebCore::LayoutIntegration::RunIteratorModernPath::atEnd const):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (281804 => 281805)


--- trunk/Source/WebCore/ChangeLog	2021-08-31 15:24:36 UTC (rev 281804)
+++ trunk/Source/WebCore/ChangeLog	2021-08-31 15:43:07 UTC (rev 281805)
@@ -1,5 +1,18 @@
 2021-08-31  Alan Bujtas  <[email protected]>
 
+        [LFC][Integration] Remove unused LayoutIntegation::Run functions
+        https://bugs.webkit.org/show_bug.cgi?id=229711
+
+        Reviewed by Antti Koivisto.
+
+        * layout/integration/LayoutIntegrationRun.h:
+        (WebCore::LayoutIntegration::Run::image const): Deleted.
+        (WebCore::LayoutIntegration::Run::hasUnderlyingLayout const): Deleted.
+        * layout/integration/LayoutIntegrationRunIteratorModernPath.h:
+        (WebCore::LayoutIntegration::RunIteratorModernPath::atEnd const):
+
+2021-08-31  Alan Bujtas  <[email protected]>
+
         [IFC][Integration] Move integral vertical position adjustment over to createDisplayLines
         https://bugs.webkit.org/show_bug.cgi?id=229679
 

Modified: trunk/Source/WebCore/layout/integration/LayoutIntegrationRun.h (281804 => 281805)


--- trunk/Source/WebCore/layout/integration/LayoutIntegrationRun.h	2021-08-31 15:24:36 UTC (rev 281804)
+++ trunk/Source/WebCore/layout/integration/LayoutIntegrationRun.h	2021-08-31 15:43:07 UTC (rev 281805)
@@ -79,10 +79,6 @@
     };
     Expansion expansion() const { return m_expansion; }
 
-    CachedImage* image() const { return m_cachedImage; }
-
-    bool hasUnderlyingLayout() const { return !!m_layoutBox; }
-    
     const Layout::Box& layoutBox() const { return *m_layoutBox; }
     const RenderStyle& style() const { return m_layoutBox->style(); }
 
@@ -92,7 +88,6 @@
     // FIXME: Find out the Display::Run <-> paint style setup.
     const size_t m_lineIndex;
     WeakPtr<const Layout::Box> m_layoutBox;
-    CachedImage* m_cachedImage { nullptr };
     FloatRect m_rect;
     FloatRect m_inkOverflow;
     Expansion m_expansion;

Modified: trunk/Source/WebCore/layout/integration/LayoutIntegrationRunIteratorModernPath.h (281804 => 281805)


--- trunk/Source/WebCore/layout/integration/LayoutIntegrationRunIteratorModernPath.h	2021-08-31 15:24:36 UTC (rev 281804)
+++ trunk/Source/WebCore/layout/integration/LayoutIntegrationRunIteratorModernPath.h	2021-08-31 15:43:07 UTC (rev 281805)
@@ -194,7 +194,7 @@
 
     bool operator==(const RunIteratorModernPath& other) const { return m_inlineContent == other.m_inlineContent && m_runIndex == other.m_runIndex; }
 
-    bool atEnd() const { return m_runIndex == runs().size() || !run().hasUnderlyingLayout(); }
+    bool atEnd() const { return m_runIndex == runs().size(); }
 
     LegacyInlineBox* legacyInlineBox() const
     {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to