+2015-01-01 Darin Adler <darin@apple.com>
+
+ Fix itearator typo
+ https://bugs.webkit.org/show_bug.cgi?id=140027
+
+ Reviewed by Csaba Osztrogonác.
+
+ * rendering/SimpleLineLayoutFlowContents.cpp:
+ (WebCore::SimpleLineLayout::nextBreakablePosition): Spelling mistake.
+
2015-01-01 Alexey Proskuryakov <ap@apple.com>
Don't dereference end() in SimpleLineLayout::RunResolver::rangeForRenderer
}
template <typename CharacterType>
-static unsigned nextBreakablePosition(LazyLineBreakIterator& lineBreakItearator, const FlowContents::Segment& segment, unsigned position)
+static unsigned nextBreakablePosition(LazyLineBreakIterator& lineBreakIterator, const FlowContents::Segment& segment, unsigned position)
{
const auto* characters = segment.text.characters<CharacterType>();
unsigned segmentLength = segment.end - segment.start;
unsigned segmentPosition = position - segment.start;
- return nextBreakablePositionNonLoosely<CharacterType, NBSPBehavior::IgnoreNBSP>(lineBreakItearator, characters, segmentLength, segmentPosition);
+ return nextBreakablePositionNonLoosely<CharacterType, NBSPBehavior::IgnoreNBSP>(lineBreakIterator, characters, segmentLength, segmentPosition);
}
unsigned FlowContents::findNextBreakablePosition(unsigned position) const