Title: [194984] trunk/Source/WebCore
Revision
194984
Author
mcatanz...@igalia.com
Date
2016-01-13 14:29:01 -0800 (Wed, 13 Jan 2016)

Log Message

[GTK] Consistently use virtual and override specifiers in ScrollbarThemeGtk
https://bugs.webkit.org/show_bug.cgi?id=153076

Reviewed by Alex Christensen.

No behavior change.

* platform/gtk/ScrollbarThemeGtk.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (194983 => 194984)


--- trunk/Source/WebCore/ChangeLog	2016-01-13 22:21:40 UTC (rev 194983)
+++ trunk/Source/WebCore/ChangeLog	2016-01-13 22:29:01 UTC (rev 194984)
@@ -1,3 +1,14 @@
+2016-01-13  Michael Catanzaro  <mcatanz...@igalia.com>
+
+        [GTK] Consistently use virtual and override specifiers in ScrollbarThemeGtk
+        https://bugs.webkit.org/show_bug.cgi?id=153076
+
+        Reviewed by Alex Christensen.
+
+        No behavior change.
+
+        * platform/gtk/ScrollbarThemeGtk.h:
+
 2016-01-13  Daniel Bates  <daba...@apple.com>
 
         Cleanup: XSS Auditor should avoid re-evaluating the parsed script tag

Modified: trunk/Source/WebCore/platform/gtk/ScrollbarThemeGtk.h (194983 => 194984)


--- trunk/Source/WebCore/platform/gtk/ScrollbarThemeGtk.h	2016-01-13 22:21:40 UTC (rev 194983)
+++ trunk/Source/WebCore/platform/gtk/ScrollbarThemeGtk.h	2016-01-13 22:29:01 UTC (rev 194984)
@@ -48,10 +48,10 @@
 
     using ScrollbarThemeComposite::thumbRect;
     IntRect thumbRect(Scrollbar&, const IntRect& unconstrainedTrackRect);
-    bool paint(Scrollbar&, GraphicsContext&, const IntRect& damageRect) override;
-    void paintScrollbarBackground(GraphicsContext&, Scrollbar&) override;
-    void paintTrackBackground(GraphicsContext&, Scrollbar&, const IntRect&) override;
-    void paintThumb(GraphicsContext&, Scrollbar&, const IntRect&) override;
+    virtual bool paint(Scrollbar&, GraphicsContext&, const IntRect& damageRect) override;
+    virtual void paintScrollbarBackground(GraphicsContext&, Scrollbar&) override;
+    virtual void paintTrackBackground(GraphicsContext&, Scrollbar&, const IntRect&) override;
+    virtual void paintThumb(GraphicsContext&, Scrollbar&, const IntRect&) override;
     virtual void paintButton(GraphicsContext&, Scrollbar&, const IntRect&, ScrollbarPart) override;
     virtual bool shouldCenterOnThumb(Scrollbar&, const PlatformMouseEvent&) override;
     virtual int scrollbarThickness(ScrollbarControlSize) override;
@@ -60,7 +60,7 @@
     // TODO: These are the default GTK+ values. At some point we should pull these from the theme itself.
     virtual double initialAutoscrollTimerDelay() override { return 0.20; }
     virtual double autoscrollTimerDelay() override { return 0.02; }
-    void themeChanged();
+    virtual void themeChanged() override;
 
 private:
     void updateThemeProperties();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to