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 fe7f6757639aeefc7286610dcb53bde9e30cd9e2..e9dff7158b77016f83ec7dea5d537f78d591a8fd 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
@@ -2231,7 +2231,7 @@ Color ComputedStyle::VisitedDependentColor(int color_property) const { |
unvisited_color.Alpha()); |
} |
-const BorderValue ComputedStyle::BorderBefore() const { |
+BorderValue ComputedStyle::BorderBefore() const { |
switch (GetWritingMode()) { |
case WritingMode::kHorizontalTb: |
return BorderTop(); |
@@ -2244,7 +2244,7 @@ const BorderValue ComputedStyle::BorderBefore() const { |
return BorderTop(); |
} |
-const BorderValue ComputedStyle::BorderAfter() const { |
+BorderValue ComputedStyle::BorderAfter() const { |
switch (GetWritingMode()) { |
case WritingMode::kHorizontalTb: |
return BorderBottom(); |
@@ -2257,13 +2257,13 @@ const BorderValue ComputedStyle::BorderAfter() const { |
return BorderBottom(); |
} |
-const BorderValue ComputedStyle::BorderStart() const { |
+BorderValue ComputedStyle::BorderStart() const { |
if (IsHorizontalWritingMode()) |
return IsLeftToRightDirection() ? BorderLeft() : BorderRight(); |
return IsLeftToRightDirection() ? BorderTop() : BorderBottom(); |
} |
-const BorderValue ComputedStyle::BorderEnd() const { |
+BorderValue ComputedStyle::BorderEnd() const { |
if (IsHorizontalWritingMode()) |
return IsLeftToRightDirection() ? BorderRight() : BorderLeft(); |
return IsLeftToRightDirection() ? BorderBottom() : BorderTop(); |