Index: ui/views/examples/textfield_example.cc |
diff --git a/ui/views/examples/textfield_example.cc b/ui/views/examples/textfield_example.cc |
index 55f1c44c7eacbdfbd368ba8b83f67e64b163a81e..810e17cfc1ba7380db5d5a4f39bd9e5785784163 100644 |
--- a/ui/views/examples/textfield_example.cc |
+++ b/ui/views/examples/textfield_example.cc |
@@ -6,7 +6,7 @@ |
#include "base/strings/utf_string_conversions.h" |
#include "ui/base/events/event.h" |
-#include "ui/base/range/range.h" |
+#include "ui/gfx/range/range.h" |
#include "ui/gfx/render_text.h" |
#include "ui/views/controls/button/label_button.h" |
#include "ui/views/controls/label.h" |
@@ -121,12 +121,12 @@ void TextfieldExample::ButtonPressed(Button* sender, const ui::Event& event) { |
if (name_->text().length() >= 5) { |
size_t fifth = name_->text().length() / 5; |
- const ui::Range big_range(1 * fifth, 4 * fifth); |
+ const gfx::Range big_range(1 * fifth, 4 * fifth); |
name_->ApplyStyle(gfx::BOLD, false, big_range); |
name_->ApplyStyle(gfx::UNDERLINE, true, big_range); |
name_->ApplyColor(SK_ColorBLUE, big_range); |
- const ui::Range small_range(2 * fifth, 3 * fifth); |
+ const gfx::Range small_range(2 * fifth, 3 * fifth); |
name_->ApplyStyle(gfx::ITALIC, true, small_range); |
name_->ApplyStyle(gfx::UNDERLINE, false, small_range); |
name_->ApplyStyle(gfx::DIAGONAL_STRIKE, true, small_range); |