Title: [184327] trunk/Source/WebCore
Revision
184327
Author
[email protected]
Date
2015-05-13 21:07:45 -0700 (Wed, 13 May 2015)

Log Message

Fix trivial typos in ApplyBlockElementCommand
https://bugs.webkit.org/show_bug.cgi?id=144984

Patch by Sungmann Cho <[email protected]> on 2015-05-13
Reviewed by Alexey Proskuryakov.

No new tests, no behavior change.

* editing/ApplyBlockElementCommand.cpp:
(WebCore::ApplyBlockElementCommand::formatSelection):
(WebCore::ApplyBlockElementCommand::endOfNextParagraphSplittingTextNodesIfNeeded):
(WebCore::ApplyBlockElementCommand::endOfNextParagrahSplittingTextNodesIfNeeded): Deleted.
* editing/ApplyBlockElementCommand.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (184326 => 184327)


--- trunk/Source/WebCore/ChangeLog	2015-05-14 03:07:25 UTC (rev 184326)
+++ trunk/Source/WebCore/ChangeLog	2015-05-14 04:07:45 UTC (rev 184327)
@@ -1,3 +1,18 @@
+2015-05-13  Sungmann Cho  <[email protected]>
+
+        Fix trivial typos in ApplyBlockElementCommand
+        https://bugs.webkit.org/show_bug.cgi?id=144984
+
+        Reviewed by Alexey Proskuryakov.
+
+        No new tests, no behavior change.
+
+        * editing/ApplyBlockElementCommand.cpp:
+        (WebCore::ApplyBlockElementCommand::formatSelection):
+        (WebCore::ApplyBlockElementCommand::endOfNextParagraphSplittingTextNodesIfNeeded):
+        (WebCore::ApplyBlockElementCommand::endOfNextParagrahSplittingTextNodesIfNeeded): Deleted.
+        * editing/ApplyBlockElementCommand.h:
+
 2015-05-13  David Kilzer  <[email protected]>
 
         REGRESION (r179958): Crash in WebCore::DocumentLoader::detachFromFrame when -[id<WebPolicyDelegate> decidePolicyForMIMEType:request:frame:decisionListener:] fails to call -[id<WebPolicyDecisionListener> download|ignore|use]

Modified: trunk/Source/WebCore/editing/ApplyBlockElementCommand.cpp (184326 => 184327)


--- trunk/Source/WebCore/editing/ApplyBlockElementCommand.cpp	2015-05-14 03:07:25 UTC (rev 184326)
+++ trunk/Source/WebCore/editing/ApplyBlockElementCommand.cpp	2015-05-14 04:07:45 UTC (rev 184327)
@@ -136,7 +136,7 @@
 
         Position afterEnd = end.next();
         Node* enclosingCell = enclosingNodeOfType(start, &isTableCell);
-        VisiblePosition endOfNextParagraph = endOfNextParagrahSplittingTextNodesIfNeeded(endOfCurrentParagraph, start, end);
+        VisiblePosition endOfNextParagraph = endOfNextParagraphSplittingTextNodesIfNeeded(endOfCurrentParagraph, start, end);
 
         formatRange(start, end, m_endOfLastParagraph, blockquoteForNextIndent);
 
@@ -250,7 +250,7 @@
     }
 }
 
-VisiblePosition ApplyBlockElementCommand::endOfNextParagrahSplittingTextNodesIfNeeded(VisiblePosition& endOfCurrentParagraph, Position& start, Position& end)
+VisiblePosition ApplyBlockElementCommand::endOfNextParagraphSplittingTextNodesIfNeeded(VisiblePosition& endOfCurrentParagraph, Position& start, Position& end)
 {
     VisiblePosition endOfNextParagraph = endOfParagraph(endOfCurrentParagraph.next());
     Position position = endOfNextParagraph.deepEquivalent();

Modified: trunk/Source/WebCore/editing/ApplyBlockElementCommand.h (184326 => 184327)


--- trunk/Source/WebCore/editing/ApplyBlockElementCommand.h	2015-05-14 03:07:25 UTC (rev 184326)
+++ trunk/Source/WebCore/editing/ApplyBlockElementCommand.h	2015-05-14 04:07:45 UTC (rev 184327)
@@ -50,7 +50,7 @@
     virtual void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>&) = 0;
     RenderStyle* renderStyleOfEnclosingTextNode(const Position&);
     void rangeForParagraphSplittingTextNodesIfNeeded(const VisiblePosition&, Position&, Position&);
-    VisiblePosition endOfNextParagrahSplittingTextNodesIfNeeded(VisiblePosition&, Position&, Position&);
+    VisiblePosition endOfNextParagraphSplittingTextNodesIfNeeded(VisiblePosition&, Position&, Position&);
 
     QualifiedName m_tagName;
     AtomicString m_inlineStyle;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to