Skip to content

Commit

Permalink
Remove unused themeChanged() from RenderTheme.h
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=270611

Reviewed by Aditya Keerthi.

This patch removes unused function 'themeChanged()' from `RenderTheme.h`.

* Source/WebCore/rendering/RenderTheme.h:

Canonical link: https://commits.webkit.org/275817@main
  • Loading branch information
Ahmad-S792 authored and Ahmad Saleem committed Mar 8, 2024
1 parent 9f96fa4 commit 70e260f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Source/WebCore/rendering/RenderTheme.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@ class RenderTheme {
virtual void inflateRectForControlRenderer(const RenderObject&, FloatRect&) { }
virtual void adjustRepaintRect(const RenderBox&, FloatRect&) { }

// This method is called whenever the theme changes on the system in order to flush cached resources from the
// old theme.
virtual void themeChanged() { }

// A method asking if the theme is able to draw the focus ring.
virtual bool supportsFocusRing(const RenderStyle&) const;

Expand Down

0 comments on commit 70e260f

Please sign in to comment.