Index: ui/gfx/utf16_indexing.cc |
diff --git a/ui/base/text/utf16_indexing.cc b/ui/gfx/utf16_indexing.cc |
similarity index 96% |
rename from ui/base/text/utf16_indexing.cc |
rename to ui/gfx/utf16_indexing.cc |
index d217f5d75c49fd86923619b9ba4081b07a2fb459..6af10c184991f97755ea60365a94f285bcfb128d 100644 |
--- a/ui/base/text/utf16_indexing.cc |
+++ b/ui/gfx/utf16_indexing.cc |
@@ -2,12 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "ui/base/text/utf16_indexing.h" |
+#include "ui/gfx/utf16_indexing.h" |
#include "base/logging.h" |
#include "base/third_party/icu/icu_utf.h" |
-namespace ui { |
+namespace gfx { |
bool IsValidCodePointIndex(const string16& s, size_t index) { |
return index == 0 || index == s.length() || |
@@ -52,4 +52,4 @@ size_t UTF16OffsetToIndex(const string16& s, size_t base, ptrdiff_t offset) { |
return pos; |
} |
-} // namespace ui |
+} // namespace gfx |