summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-22 23:17:58 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-22 23:17:58 +0000
commitd19d94eb576de668661b2fedf7a681b2a90e55e1 (patch)
treee9b94c8f4ac18c0e5d7a0b934eca095633c967a4 /base
parent90f545d4ae725c587b6aff8b07cb37cfe01ddfc0 (diff)
downloadchromium_src-d19d94eb576de668661b2fedf7a681b2a90e55e1.zip
chromium_src-d19d94eb576de668661b2fedf7a681b2a90e55e1.tar.gz
chromium_src-d19d94eb576de668661b2fedf7a681b2a90e55e1.tar.bz2
Make it possible to compile word_iterator.h on Gentoo when using
system ICU. TEST=none BUG=28294 Review URL: http://codereview.chromium.org/2824069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53417 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/i18n/word_iterator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/i18n/word_iterator.h b/base/i18n/word_iterator.h
index aabafab1..f8fb89f 100644
--- a/base/i18n/word_iterator.h
+++ b/base/i18n/word_iterator.h
@@ -8,6 +8,7 @@
#include <string>
#include <vector>
+#include "unicode/ubrk.h"
#include "unicode/uchar.h"
#include "base/basictypes.h"
@@ -68,7 +69,7 @@ class WordIterator {
private:
// ICU iterator.
- void* iter_;
+ UBreakIterator* iter_;
#if !defined(WCHAR_T_IS_UTF16)
std::vector<UChar> chars_;
#endif