[Qt][WK2] Make sure Scrollbars are in their own layer.
authoralexis.menard@openbossa.org <alexis.menard@openbossa.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Nov 2011 23:44:59 +0000 (23:44 +0000)
committeralexis.menard@openbossa.org <alexis.menard@openbossa.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Nov 2011 23:44:59 +0000 (23:44 +0000)
https://bugs.webkit.org/show_bug.cgi?id=72064

Reviewed by Kenneth Rohde Christiansen.

Make sure we render our scrollbars in a separate layer.

No new tests : existing ones should cover.

* platform/qt/ScrollbarThemeQt.h:
(WebCore::ScrollbarThemeQt::usesOverlayScrollbars):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100038 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/qt/ScrollbarThemeQt.h

index 115c440..69f0c18 100644 (file)
@@ -1,3 +1,17 @@
+2011-11-11  Alexis Menard  <alexis.menard@openbossa.org>
+
+        [Qt][WK2] Make sure Scrollbars are in their own layer.
+        https://bugs.webkit.org/show_bug.cgi?id=72064
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Make sure we render our scrollbars in a separate layer.
+
+        No new tests : existing ones should cover.
+
+        * platform/qt/ScrollbarThemeQt.h:
+        (WebCore::ScrollbarThemeQt::usesOverlayScrollbars):
+
 2011-11-11  Joel Webber  <jgw@google.com>
 
         Repaint broken when children of filtered SVG elements are updated
index cf4882d..11b5936 100644 (file)
@@ -56,6 +56,8 @@ public:
 
     virtual int scrollbarThickness(ScrollbarControlSize = RegularScrollbar);
 
+    virtual bool usesOverlayScrollbars() const { return true; }
+
     QStyle* style() const;
 };