Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Unified Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h

Issue 2741223002: Use correct ScrollbarTheme to paintScrollCorner (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
index 68ffabf78b70fb2dc47bb981f2fa9d10c6727b90..ad5a65a6be11d8b665d761530830d49e438c3069 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
@@ -42,6 +42,7 @@ class JSONObject;
class Page;
class LayoutPart;
class Scrollbar;
+class ScrollbarTheme;
class ScrollingCoordinator;
class VisualViewport;
@@ -245,6 +246,8 @@ class CORE_EXPORT PaintLayerCompositor final : public GraphicsLayerClient {
// instance if any, else nullptr.
Scrollbar* graphicsLayerToScrollbar(const GraphicsLayer*) const;
+ ScrollbarTheme& scrollbarThemeOfScrollCorner() const;
+
bool isMainFrame() const;
VisualViewport& visualViewport() const;

Powered by Google App Engine
This is Rietveld 408576698