Title: [141478] trunk/Tools
Revision
141478
Author
[email protected]
Date
2013-01-31 13:47:25 -0800 (Thu, 31 Jan 2013)

Log Message

[Chromium] Unreviewed gardening.

Win build fix after http://trac.webkit.org/changeset/141471.

* DumpRenderTree/chromium/TestRunner/src/MockSpellCheck.cpp:
(MockSpellCheck::spellCheckWord):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (141477 => 141478)


--- trunk/Tools/ChangeLog	2013-01-31 21:42:46 UTC (rev 141477)
+++ trunk/Tools/ChangeLog	2013-01-31 21:47:25 UTC (rev 141478)
@@ -1,3 +1,12 @@
+2013-01-31  Florin Malita  <[email protected]>
+
+        [Chromium] Unreviewed gardening.
+
+        Win build fix after http://trac.webkit.org/changeset/141471.
+
+        * DumpRenderTree/chromium/TestRunner/src/MockSpellCheck.cpp:
+        (MockSpellCheck::spellCheckWord):
+
 2013-01-31  Enrica Casucci  <[email protected]>
 
         WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.

Modified: trunk/Tools/DumpRenderTree/chromium/TestRunner/src/MockSpellCheck.cpp (141477 => 141478)


--- trunk/Tools/DumpRenderTree/chromium/TestRunner/src/MockSpellCheck.cpp	2013-01-31 21:42:46 UTC (rev 141477)
+++ trunk/Tools/DumpRenderTree/chromium/TestRunner/src/MockSpellCheck.cpp	2013-01-31 21:47:25 UTC (rev 141478)
@@ -81,7 +81,7 @@
         // extracted word if this word is a known misspelled word.
         // (See the comment in MockSpellCheck::initializeIfNeeded() why we use a
         // misspelled-word table.)
-        for (int i = 0; i < m_misspelledWords.size(); ++i) {
+        for (size_t i = 0; i < m_misspelledWords.size(); ++i) {
             wordLength = static_cast<int>(m_misspelledWords.at(i).length()) > maxWordLength ? maxWordLength : static_cast<int>(m_misspelledWords.at(i).length());
             word = stringText.substring(wordOffset, wordLength);
             if (word == m_misspelledWords.at(i) && (static_cast<int>(stringText.length()) == wordOffset + wordLength || isNotASCIIAlpha(stringText[wordOffset + wordLength]))) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to