diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-08 21:21:36 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-08 21:21:36 +0000 |
commit | 4bf413576fa9c6e19a16119b007112f7a32c6ffc (patch) | |
tree | 4f001c33aff643657dbea57da0f944e01c36fa9b /chrome/browser/spellchecker_platform_engine_unittest.cc | |
parent | 2f4a6c55fc37dc085adaf808d1f436be91c82a09 (diff) | |
download | chromium_src-4bf413576fa9c6e19a16119b007112f7a32c6ffc.zip chromium_src-4bf413576fa9c6e19a16119b007112f7a32c6ffc.tar.gz chromium_src-4bf413576fa9c6e19a16119b007112f7a32c6ffc.tar.bz2 |
chrome 1: string_util.h -> utf_string_conversions.h fix.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/672001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40937 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/spellchecker_platform_engine_unittest.cc')
-rw-r--r-- | chrome/browser/spellchecker_platform_engine_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/spellchecker_platform_engine_unittest.cc b/chrome/browser/spellchecker_platform_engine_unittest.cc index e775ca8..060a0a5 100644 --- a/chrome/browser/spellchecker_platform_engine_unittest.cc +++ b/chrome/browser/spellchecker_platform_engine_unittest.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "base/string_util.h" +#include "base/utf_string_conversions.h" #include "chrome/browser/spellchecker_platform_engine.h" #include "testing/gtest/include/gtest/gtest.h" @@ -63,7 +63,7 @@ TEST(PlatformSpellCheckTest, MAYBE_IgnoreWords_EN_US) { // The word should now show be spelled wrong again EXPECT_EQ(kTestCases[i].input_result, result); } -} // Test IgnoreWords_EN_US +} // Test IgnoreWords_EN_US TEST(PlatformSpellCheckTest, MAYBE_SpellCheckSuggestions_EN_US) { static const struct { @@ -357,7 +357,7 @@ TEST(PlatformSpellCheckTest, MAYBE_SpellCheckSuggestions_EN_US) { // Check if the suggested words occur. bool suggested_word_is_present = false; - for (int j=0; j < static_cast<int>(suggestions.size()); j++) { + for (int j = 0; j < static_cast<int>(suggestions.size()); j++) { if (suggestions.at(j).compare(WideToUTF16(kTestCases[i].suggested_word)) == 0) { suggested_word_is_present = true; |