Chromium Code Reviews| Index: Source/core/rendering/RenderMultiColumnSet.h |
| diff --git a/Source/core/rendering/RenderMultiColumnSet.h b/Source/core/rendering/RenderMultiColumnSet.h |
| index a1deccd2bf19b9f1c442ab376b0e37e9833cc073..99c4ffc8dad232327e58682bbce341576159a0bb 100644 |
| --- a/Source/core/rendering/RenderMultiColumnSet.h |
| +++ b/Source/core/rendering/RenderMultiColumnSet.h |
| @@ -74,8 +74,6 @@ public: |
| LayoutUnit logicalTopInFlowThread() const { return isHorizontalWritingMode() ? flowThreadPortionRect().y() : flowThreadPortionRect().x(); } |
| LayoutUnit logicalBottomInFlowThread() const { return isHorizontalWritingMode() ? flowThreadPortionRect().maxY() : flowThreadPortionRect().maxX(); } |
| - LayoutUnit logicalHeightInFlowThread() const { return isHorizontalWritingMode() ? flowThreadPortionRect().height() : flowThreadPortionRect().width(); } |
|
mstensho (USE GERRIT)
2014/10/01 22:21:37
Please keep this, and kill logicalHeightOfAllFlowT
|
| - |
| // The used CSS value of column-count, i.e. how many columns there are room for without overflowing. |
| unsigned usedColumnCount() const { return multiColumnFlowThread()->columnCount(); } |
| @@ -116,7 +114,7 @@ public: |
| // This method represents the logical height of the entire flow thread portion used by the region or set. |
| // For RenderRegions it matches logicalPaginationHeight(), but for sets it is the height of all the pages |
| // or columns added together. |
| - LayoutUnit logicalHeightOfAllFlowThreadContent() const { return logicalHeightInFlowThread(); } |
| + LayoutUnit logicalHeightOfAllFlowThreadContent() const { return isHorizontalWritingMode() ? flowThreadPortionRect().height() : flowThreadPortionRect().width(); } |
| void paintInvalidationForFlowThreadContent(const LayoutRect& paintInvalidationRect) const; |