| Index: ui/gfx/utf16_indexing.h
|
| diff --git a/ui/base/text/utf16_indexing.h b/ui/gfx/utf16_indexing.h
|
| similarity index 91%
|
| rename from ui/base/text/utf16_indexing.h
|
| rename to ui/gfx/utf16_indexing.h
|
| index a1af3d9acd84d28a56dae8041154975bfe0b95c5..7f56384299f390d9a664284cc612e21762318ac7 100644
|
| --- a/ui/base/text/utf16_indexing.h
|
| +++ b/ui/gfx/utf16_indexing.h
|
| @@ -2,13 +2,13 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef UI_BASE_TEXT_UTF16_INDEXING_H_
|
| -#define UI_BASE_TEXT_UTF16_INDEXING_H_
|
| +#ifndef UI_GFX_UTF16_INDEXING_H_
|
| +#define UI_GFX_UTF16_INDEXING_H_
|
|
|
| #include "base/strings/string16.h"
|
| -#include "ui/base/ui_export.h"
|
| +#include "ui/gfx/gfx_export.h"
|
|
|
| -namespace ui {
|
| +namespace gfx {
|
|
|
| // Returns false if s[index-1] is a high surrogate and s[index] is a low
|
| // surrogate, true otherwise.
|
| @@ -44,6 +44,6 @@ UI_EXPORT size_t UTF16OffsetToIndex(const string16& s,
|
| size_t base,
|
| ptrdiff_t offset);
|
|
|
| -} // namespace ui
|
| +} // namespace gfx
|
|
|
| -#endif // UI_BASE_TEXT_UTF16_INDEXING_H_
|
| +#endif // UI_GFX_UTF16_INDEXING_H_
|
|
|