Index: third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp |
diff --git a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp |
index 5122fbb01aec4a0f38a3a69c66ffe70bfadb4f8f..5767dcd7942626fa80398eb9f2768a3b35dbab03 100644 |
--- a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp |
+++ b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp |
@@ -186,7 +186,6 @@ inline LayoutUnit borderBeforeInWritingMode(const LayoutBox& layoutBox, WritingM |
{ |
switch (writingMode) { |
case TopToBottomWritingMode: return layoutBox.borderTop(); |
- case BottomToTopWritingMode: return layoutBox.borderBottom(); |
case LeftToRightWritingMode: return layoutBox.borderLeft(); |
case RightToLeftWritingMode: return layoutBox.borderRight(); |
} |
@@ -199,7 +198,6 @@ inline LayoutUnit borderAndPaddingBeforeInWritingMode(const LayoutBox& layoutBox |
{ |
switch (writingMode) { |
case TopToBottomWritingMode: return layoutBox.borderTop() + layoutBox.paddingTop(); |
- case BottomToTopWritingMode: return layoutBox.borderBottom() + layoutBox.paddingBottom(); |
case LeftToRightWritingMode: return layoutBox.borderLeft() + layoutBox.paddingLeft(); |
case RightToLeftWritingMode: return layoutBox.borderRight() + layoutBox.paddingRight(); |
} |