Title: [145613] trunk/Source/WebCore
Revision
145613
Author
[email protected]
Date
2013-03-12 16:43:47 -0700 (Tue, 12 Mar 2013)

Log Message

Remove TextIterator.cpp's isAllCollapsibleWhitespace
https://bugs.webkit.org/show_bug.cgi?id=112200

Reviewed by Ryosuke Niwa.

Remove isAllCollapsibleWhitespace since nothing uses it.

* editing/TextIterator.cpp: Remove isAllCollapsibleWhitespace.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (145612 => 145613)


--- trunk/Source/WebCore/ChangeLog	2013-03-12 23:43:17 UTC (rev 145612)
+++ trunk/Source/WebCore/ChangeLog	2013-03-12 23:43:47 UTC (rev 145613)
@@ -1,3 +1,14 @@
+2013-03-12  Elliott Sprehn  <[email protected]>
+
+        Remove TextIterator.cpp's isAllCollapsibleWhitespace
+        https://bugs.webkit.org/show_bug.cgi?id=112200
+
+        Reviewed by Ryosuke Niwa.
+
+        Remove isAllCollapsibleWhitespace since nothing uses it.
+
+        * editing/TextIterator.cpp: Remove isAllCollapsibleWhitespace.
+
 2013-03-12  Bear Travis  <[email protected]>
 
         [css exclusions] Move ExclusionShapeInsideInfo into RenderBlockRareData

Modified: trunk/Source/WebCore/editing/TextIterator.cpp (145612 => 145613)


--- trunk/Source/WebCore/editing/TextIterator.cpp	2013-03-12 23:43:17 UTC (rev 145612)
+++ trunk/Source/WebCore/editing/TextIterator.cpp	2013-03-12 23:43:47 UTC (rev 145613)
@@ -2573,17 +2573,6 @@
     return result;
 }
 
-static inline bool isAllCollapsibleWhitespace(const String& string)
-{
-    const UChar* characters = string.characters();
-    unsigned length = string.length();
-    for (unsigned i = 0; i < length; ++i) {
-        if (!isCollapsibleWhitespace(characters[i]))
-            return false;
-    }
-    return true;
-}
-
 static PassRefPtr<Range> collapsedToBoundary(const Range* range, bool forward)
 {
     RefPtr<Range> result = range->cloneRange(ASSERT_NO_EXCEPTION);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to