Index: Source/core/rendering/line/LineLayoutState.h |
diff --git a/Source/core/rendering/line/LineLayoutState.h b/Source/core/rendering/line/LineLayoutState.h |
index 1a0043471f621e5ede72a7fb201ee492bb1b5896..963c515d4936dcdc1fc479d5666236504a9bd579 100644 |
--- a/Source/core/rendering/line/LineLayoutState.h |
+++ b/Source/core/rendering/line/LineLayoutState.h |
@@ -64,8 +64,8 @@ public: |
void updateRepaintRangeFromBox(RootInlineBox* box, LayoutUnit paginationDelta = 0) |
{ |
m_usesRepaintBounds = true; |
- m_repaintLogicalTop = min(m_repaintLogicalTop, box->logicalTopVisualOverflow() + min<LayoutUnit>(paginationDelta, 0)); |
- m_repaintLogicalBottom = max(m_repaintLogicalBottom, box->logicalBottomVisualOverflow() + max<LayoutUnit>(paginationDelta, 0)); |
+ m_repaintLogicalTop = std::min(m_repaintLogicalTop, box->logicalTopVisualOverflow() + std::min<LayoutUnit>(paginationDelta, 0)); |
+ m_repaintLogicalBottom = std::max(m_repaintLogicalBottom, box->logicalBottomVisualOverflow() + std::max<LayoutUnit>(paginationDelta, 0)); |
} |
bool endLineMatched() const { return m_endLineMatched; } |