summaryrefslogtreecommitdiffstats
path: root/ui/views/touchui/touch_selection_controller_impl_unittest.cc
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-19 03:38:44 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-19 03:38:44 +0000
commitd401e2da59d2faa5d286d214fdc6b692f39e5661 (patch)
treeff58266d2245088fc15ff02237ffee678605b91f /ui/views/touchui/touch_selection_controller_impl_unittest.cc
parentb6cb588fd2f2ec1e19e0614e3d0ddb5a176c6afe (diff)
downloadchromium_src-d401e2da59d2faa5d286d214fdc6b692f39e5661.zip
chromium_src-d401e2da59d2faa5d286d214fdc6b692f39e5661.tar.gz
chromium_src-d401e2da59d2faa5d286d214fdc6b692f39e5661.tar.bz2
Remove views::NativeTextfieldWrapper, start class cleanup.
A first step towards combining views::Textfield and views::NativeTextfieldViews. Remove NativeTextfieldWrapper, use NativeTextfieldViews directly. Remove, inline, and simplify some minimal functionality. Cleanup some related code/comments/tests. BUG=131660 TEST=No build breaks, no behavior changes, no regressions. R=sky@chromium.org Review URL: https://codereview.chromium.org/105713004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241783 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/touchui/touch_selection_controller_impl_unittest.cc')
-rw-r--r--ui/views/touchui/touch_selection_controller_impl_unittest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/views/touchui/touch_selection_controller_impl_unittest.cc b/ui/views/touchui/touch_selection_controller_impl_unittest.cc
index 54c9972..4e34dcb 100644
--- a/ui/views/touchui/touch_selection_controller_impl_unittest.cc
+++ b/ui/views/touchui/touch_selection_controller_impl_unittest.cc
@@ -74,8 +74,7 @@ class TouchSelectionControllerImplTest : public ViewsTestBase {
widget_->SetContentsView(container);
container->AddChildView(textfield_);
- textfield_view_ = static_cast<NativeTextfieldViews*>(
- textfield_->GetNativeWrapperForTesting());
+ textfield_view_ = textfield_->GetTextfieldViewForTesting();
textfield_->SetBoundsRect(params.bounds);
textfield_view_->SetBoundsRect(params.bounds);
textfield_->set_id(1);