| Index: third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
| index b0024298e9c242d2244f381b04eac44ce6b41e69..1733121f52b8a42bb2a00855ba1ba1eab8f70399 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
| @@ -50,6 +50,7 @@
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/Theme.h"
|
| #include "platform/fonts/FontSelector.h"
|
| +#include "platform/graphics/TouchAction.h"
|
| #include "platform/text/PlatformLocale.h"
|
| #include "platform/text/StringTruncator.h"
|
| #include "platform/wtf/text/StringBuilder.h"
|
| @@ -626,10 +627,10 @@ void LayoutTheme::AdjustSliderContainerStyle(ComputedStyle& style,
|
| if (e && (e->ShadowPseudoId() == "-webkit-media-slider-container" ||
|
| e->ShadowPseudoId() == "-webkit-slider-container")) {
|
| if (style.Appearance() == kSliderVerticalPart) {
|
| - style.SetTouchAction(kTouchActionPanX);
|
| + style.SetTouchAction(TouchAction::kTouchActionPanX);
|
| style.SetAppearance(kNoControlPart);
|
| } else {
|
| - style.SetTouchAction(kTouchActionPanY);
|
| + style.SetTouchAction(TouchAction::kTouchActionPanY);
|
| style.SetAppearance(kNoControlPart);
|
| }
|
| }
|
|
|