Index: third_party/WebKit/Source/core/layout/line/LineWidth.cpp |
diff --git a/third_party/WebKit/Source/core/layout/line/LineWidth.cpp b/third_party/WebKit/Source/core/layout/line/LineWidth.cpp |
index c69d9e493406a3d82dfb41b85c40ebaf4d94feef..5982992c4121e0255afa6296535605126df303ec 100644 |
--- a/third_party/WebKit/Source/core/layout/line/LineWidth.cpp |
+++ b/third_party/WebKit/Source/core/layout/line/LineWidth.cpp |
@@ -71,7 +71,7 @@ void LineWidth::shrinkAvailableWidthForNewFloatIfNeeded(const FloatingObject& ne |
shapeDeltas = shapeOutsideInfo->computeDeltasForContainingBlockLine(m_block, newFloat, m_block.logicalHeight(), lineHeight); |
} |
- if (newFloat.type() == FloatingObject::FloatLeft) { |
+ if (newFloat.getType() == FloatingObject::FloatLeft) { |
float newLeft = m_block.logicalRightForFloat(newFloat).toFloat(); |
if (shapeDeltas.isValid()) { |
if (shapeDeltas.lineOverlapsShape()) |