Title: [286379] trunk/Source/WebCore
Revision
286379
Author
commit-qu...@webkit.org
Date
2021-12-01 12:58:14 -0800 (Wed, 01 Dec 2021)

Log Message

Remove virtual from RenderWidget::paintContents
https://bugs.webkit.org/show_bug.cgi?id=233709

Patch by Rob Buis <rb...@igalia.com> on 2021-12-01
Reviewed by Simon Fraser.

Remove virtual from RenderWidget:: paintContents since it is not overridden.

* rendering/RenderWidget.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (286378 => 286379)


--- trunk/Source/WebCore/ChangeLog	2021-12-01 20:32:39 UTC (rev 286378)
+++ trunk/Source/WebCore/ChangeLog	2021-12-01 20:58:14 UTC (rev 286379)
@@ -1,3 +1,14 @@
+2021-12-01  Rob Buis  <rb...@igalia.com>
+
+        Remove virtual from RenderWidget::paintContents
+        https://bugs.webkit.org/show_bug.cgi?id=233709
+
+        Reviewed by Simon Fraser.
+
+        Remove virtual from RenderWidget:: paintContents since it is not overridden.
+
+        * rendering/RenderWidget.h:
+
 2021-12-01  Philippe Normand  <pnorm...@igalia.com>
 
         [GStreamer] requestVideoFrameCallback support

Modified: trunk/Source/WebCore/rendering/RenderWidget.h (286378 => 286379)


--- trunk/Source/WebCore/rendering/RenderWidget.h	2021-12-01 20:32:39 UTC (rev 286378)
+++ trunk/Source/WebCore/rendering/RenderWidget.h	2021-12-01 20:58:14 UTC (rev 286379)
@@ -82,7 +82,6 @@
     void layout() override;
     void paint(PaintInfo&, const LayoutPoint&) override;
     bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override;
-    virtual void paintContents(PaintInfo&, const LayoutPoint&);
     bool requiresLayer() const override;
 
 private:
@@ -99,6 +98,8 @@
     bool setWidgetGeometry(const LayoutRect&);
     bool updateWidgetGeometry();
 
+    void paintContents(PaintInfo&, const LayoutPoint&);
+
     RefPtr<Widget> m_widget;
     IntRect m_clipRect; // The rectangle needs to remain correct after scrolling, so it is stored in content view coordinates, and not clipped to window.
     unsigned m_refCount { 1 };
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to