Index: Source/platform/scroll/ScrollbarThemeMacCommon.h |
diff --git a/Source/platform/scroll/ScrollbarThemeMacCommon.h b/Source/platform/scroll/ScrollbarThemeMacCommon.h |
index c3e7fde10d5d82dd941b9803a57b43aa0fc7d26b..7d9cedce37b7bf01ca763e98bb0e613df82c1db9 100644 |
--- a/Source/platform/scroll/ScrollbarThemeMacCommon.h |
+++ b/Source/platform/scroll/ScrollbarThemeMacCommon.h |
@@ -41,7 +41,7 @@ public: |
void registerScrollbar(ScrollbarThemeClient*) override; |
void unregisterScrollbar(ScrollbarThemeClient*) override; |
- void preferencesChanged(float initialButtonDelay, float autoscrollButtonDelay, NSScrollerStyle preferredScrollerStyle, bool redraw, bool scrollAnimationEnabled, const std::string& buttonPlacement); |
+ void preferencesChanged(float initialButtonDelay, float autoscrollButtonDelay, NSScrollerStyle preferredScrollerStyle, bool redraw, bool scrollAnimationEnabled, ScrollbarButtonsPlacement); |
bool supportsControlTints() const override { return true; } |
@@ -62,7 +62,7 @@ protected: |
bool shouldDragDocumentInsteadOfThumb(ScrollbarThemeClient*, const PlatformMouseEvent&) override; |
int scrollbarPartToHIPressedState(ScrollbarPart); |
- virtual void updateButtonPlacement(const std::string& buttonPlacement) {} |
+ virtual void updateButtonPlacement(ScrollbarButtonsPlacement) {} |
void paintGivenTickmarks(SkCanvas*, ScrollbarThemeClient*, const IntRect&, const Vector<IntRect>&); |