Fix itearator typo
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Jan 2015 00:57:34 +0000 (00:57 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Jan 2015 00:57:34 +0000 (00:57 +0000)
https://bugs.webkit.org/show_bug.cgi?id=140027

Reviewed by Csaba Osztrogon√°c.

* rendering/SimpleLineLayoutFlowContents.cpp:
(WebCore::SimpleLineLayout::nextBreakablePosition): Spelling mistake.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@177853 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/rendering/SimpleLineLayoutFlowContents.cpp

index 8c3808d69f38b2801aa80f422606c9debb8fffd1..9f5bcf3cc71045ebaae8cb33b1f3d204f12208ca 100644 (file)
@@ -1,3 +1,13 @@
+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
index 4c031dc37b0bec4256bf7ca37c84fb1537fb3bc8..8c075684916212f9c6f21112949bee9b7eaf3574 100644 (file)
@@ -67,12 +67,12 @@ FlowContents::FlowContents(const RenderBlockFlow& flow)
 }
 
 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