| Index: third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp b/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp
|
| index 1bb828a6dab8639fef3b0a153d7c157a296892fb..eab29d2517cff54d22290c8f26c3f6c59e598242 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp
|
| @@ -238,9 +238,9 @@ void LayoutScrollbar::updateScrollbarPart(ScrollbarPart partType, bool destroy)
|
|
|
| RefPtr<ComputedStyle> partStyle = !destroy ? getScrollbarPseudoStyle(partType, pseudoForScrollbarPart(partType)) : PassRefPtr<ComputedStyle>(nullptr);
|
|
|
| - bool needLayoutObject = !destroy && partStyle && partStyle->display() != NONE;
|
| + bool needLayoutObject = !destroy && partStyle && partStyle->display() != EDisplay::None;
|
|
|
| - if (needLayoutObject && partStyle->display() != BLOCK) {
|
| + if (needLayoutObject && partStyle->display() != EDisplay::Block) {
|
| // See if we are a button that should not be visible according to OS settings.
|
| WebScrollbarButtonsPlacement buttonsPlacement = theme().buttonsPlacement();
|
| switch (partType) {
|
|
|