Chromium Code Reviews| Index: Source/core/page/PrintContext.cpp |
| diff --git a/Source/core/page/PrintContext.cpp b/Source/core/page/PrintContext.cpp |
| index 34da6e09752c82a9010d74d5c3db871c7da89033..277f0ebb6a362c4020f93fe76b3cde8607c99c18 100644 |
| --- a/Source/core/page/PrintContext.cpp |
| +++ b/Source/core/page/PrintContext.cpp |
| @@ -113,7 +113,7 @@ void PrintContext::computePageRectsWithPageSizeInternal(const FloatSize& pageSiz |
| int blockDirectionStart; |
| int blockDirectionEnd; |
| if (isHorizontal) { |
| - if (view->style()->isFlippedBlocksWritingMode()) { |
| + if (view->style()->slowIsFlippedBlocksWritingMode()) { |
| blockDirectionStart = docRect.maxY(); |
| blockDirectionEnd = docRect.y(); |
| } else { |
| @@ -123,7 +123,7 @@ void PrintContext::computePageRectsWithPageSizeInternal(const FloatSize& pageSiz |
| inlineDirectionStart = view->style()->isLeftToRightDirection() ? docRect.x() : docRect.maxX(); |
| inlineDirectionEnd = view->style()->isLeftToRightDirection() ? docRect.maxX() : docRect.x(); |
| } else { |
| - if (view->style()->isFlippedBlocksWritingMode()) { |
| + if (view->style()->slowIsFlippedBlocksWritingMode()) { |
|
pdr.
2014/10/22 18:42:54
(We'll be doing these in a followup)
|
| blockDirectionStart = docRect.maxX(); |
| blockDirectionEnd = docRect.x(); |
| } else { |