| Index: third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
|
| index 909ecb8326d94b92932646d76b41930fc5dfd907..a0dec32d91586f2c92afacbb5c50d3b30f8354da 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
|
| @@ -485,7 +485,7 @@ bool LayoutThemeMac::isControlStyled(const ComputedStyle& style) const {
|
| return true;
|
| // NSPopUpButtonCell on macOS 10.9 doesn't support
|
| // NSUserInterfaceLayoutDirectionRightToLeft.
|
| - if (IsOS10_9() && style.direction() == TextDirection::Rtl)
|
| + if (IsOS10_9() && style.direction() == TextDirection::kRtl)
|
| return true;
|
| }
|
| // Some other cells don't work well when scaled.
|
| @@ -718,7 +718,7 @@ void LayoutThemeMac::adjustMenuListStyle(ComputedStyle& style,
|
| style.setHeight(Length(Auto));
|
|
|
| // White-space is locked to pre.
|
| - style.setWhiteSpace(EWhiteSpace::Pre);
|
| + style.setWhiteSpace(EWhiteSpace::kPre);
|
|
|
| // Set the foreground color to black or gray when we have the aqua look.
|
| // Cast to RGB32 is to work around a compiler bug.
|
| @@ -820,7 +820,7 @@ void LayoutThemeMac::setPopupButtonCellState(const LayoutObject& object,
|
| updatePressedState(popupButton, object);
|
|
|
| popupButton.userInterfaceLayoutDirection =
|
| - object.styleRef().direction() == TextDirection::Ltr
|
| + object.styleRef().direction() == TextDirection::kLtr
|
| ? NSUserInterfaceLayoutDirectionLeftToRight
|
| : NSUserInterfaceLayoutDirectionRightToLeft;
|
| }
|
|
|