Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
index 375d4a4277ba5116d997db3195fd9481a189da6f..be8cdd93b0cf29de701e0732aaf2718d4182fc77 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
@@ -1552,24 +1552,6 @@ LayoutUnit LayoutBlock::textIndentOffset() const |
return minimumValueForLength(style()->textIndent(), cw); |
} |
-void LayoutBlock::markLinesDirtyInBlockRange(LayoutUnit logicalTop, LayoutUnit logicalBottom, RootInlineBox* highest) |
-{ |
- if (logicalTop >= logicalBottom) |
- return; |
- |
- RootInlineBox* lowestDirtyLine = lastRootBox(); |
- RootInlineBox* afterLowest = lowestDirtyLine; |
- while (lowestDirtyLine && lowestDirtyLine->lineBottomWithLeading() >= logicalBottom && logicalBottom < LayoutUnit::max()) { |
- afterLowest = lowestDirtyLine; |
- lowestDirtyLine = lowestDirtyLine->prevRootBox(); |
- } |
- |
- while (afterLowest && afterLowest != highest && (afterLowest->lineBottomWithLeading() >= logicalTop || afterLowest->lineBottomWithLeading() < 0)) { |
- afterLowest->markDirty(); |
- afterLowest = afterLowest->prevRootBox(); |
- } |
-} |
- |
bool LayoutBlock::isPointInOverflowControl(HitTestResult& result, const LayoutPoint& locationInContainer, const LayoutPoint& accumulatedOffset) const |
{ |
if (!scrollsOverflow()) |