Index: Source/core/rendering/RenderReplaced.cpp |
diff --git a/Source/core/rendering/RenderReplaced.cpp b/Source/core/rendering/RenderReplaced.cpp |
index e88602ca7e47c7e7b07d7eac86ad27f3a2057384..7867b2d73d5435e5bd989cf6fdff4fbab8cf0ce9 100644 |
--- a/Source/core/rendering/RenderReplaced.cpp |
+++ b/Source/core/rendering/RenderReplaced.cpp |
@@ -445,7 +445,7 @@ LayoutRect RenderReplaced::localSelectionRect(bool checkWhetherSelected) const |
return LayoutRect(LayoutPoint(), size()); |
RootInlineBox& root = inlineBoxWrapper()->root(); |
- LayoutUnit newLogicalTop = root.block().style()->isFlippedBlocksWritingMode() ? inlineBoxWrapper()->logicalBottom() - root.selectionBottom() : root.selectionTop() - inlineBoxWrapper()->logicalTop(); |
+ LayoutUnit newLogicalTop = root.block().style()->slowIsFlippedBlocksWritingMode() ? inlineBoxWrapper()->logicalBottom() - root.selectionBottom() : root.selectionTop() - inlineBoxWrapper()->logicalTop(); |
if (root.block().style()->isHorizontalWritingMode()) |
return LayoutRect(0, newLogicalTop, width(), root.selectionHeight()); |
return LayoutRect(newLogicalTop, 0, root.selectionHeight(), height()); |