| Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| index 070c725a0c9e87d02d45c3e2a7c9ac80c7f56136..c4ac7c287c2a177c7092a987ac06a1786bac00c3 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| @@ -2170,11 +2170,11 @@ Color ComputedStyle::visitedDependentColor(int colorProperty) const {
|
|
|
| const BorderValue& ComputedStyle::borderBefore() const {
|
| switch (getWritingMode()) {
|
| - case TopToBottomWritingMode:
|
| + case WritingMode::HorizontalTb:
|
| return borderTop();
|
| - case LeftToRightWritingMode:
|
| + case WritingMode::VerticalLr:
|
| return borderLeft();
|
| - case RightToLeftWritingMode:
|
| + case WritingMode::VerticalRl:
|
| return borderRight();
|
| }
|
| ASSERT_NOT_REACHED();
|
| @@ -2183,11 +2183,11 @@ const BorderValue& ComputedStyle::borderBefore() const {
|
|
|
| const BorderValue& ComputedStyle::borderAfter() const {
|
| switch (getWritingMode()) {
|
| - case TopToBottomWritingMode:
|
| + case WritingMode::HorizontalTb:
|
| return borderBottom();
|
| - case LeftToRightWritingMode:
|
| + case WritingMode::VerticalLr:
|
| return borderRight();
|
| - case RightToLeftWritingMode:
|
| + case WritingMode::VerticalRl:
|
| return borderLeft();
|
| }
|
| ASSERT_NOT_REACHED();
|
| @@ -2208,11 +2208,11 @@ const BorderValue& ComputedStyle::borderEnd() const {
|
|
|
| int ComputedStyle::borderBeforeWidth() const {
|
| switch (getWritingMode()) {
|
| - case TopToBottomWritingMode:
|
| + case WritingMode::HorizontalTb:
|
| return borderTopWidth();
|
| - case LeftToRightWritingMode:
|
| + case WritingMode::VerticalLr:
|
| return borderLeftWidth();
|
| - case RightToLeftWritingMode:
|
| + case WritingMode::VerticalRl:
|
| return borderRightWidth();
|
| }
|
| ASSERT_NOT_REACHED();
|
| @@ -2221,11 +2221,11 @@ int ComputedStyle::borderBeforeWidth() const {
|
|
|
| int ComputedStyle::borderAfterWidth() const {
|
| switch (getWritingMode()) {
|
| - case TopToBottomWritingMode:
|
| + case WritingMode::HorizontalTb:
|
| return borderBottomWidth();
|
| - case LeftToRightWritingMode:
|
| + case WritingMode::VerticalLr:
|
| return borderRightWidth();
|
| - case RightToLeftWritingMode:
|
| + case WritingMode::VerticalRl:
|
| return borderLeftWidth();
|
| }
|
| ASSERT_NOT_REACHED();
|
|
|