summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/controls/textfield/textfield_views_model_unittest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/controls/textfield/textfield_views_model_unittest.cc b/views/controls/textfield/textfield_views_model_unittest.cc
index 99851ce..388c8c3 100644
--- a/views/controls/textfield/textfield_views_model_unittest.cc
+++ b/views/controls/textfield/textfield_views_model_unittest.cc
@@ -289,8 +289,7 @@ TEST(TextfieldViewsModelTest, SetText) {
}
TEST(TextfieldViewsModelTest, Clipboard) {
- scoped_ptr<TestViewsDelegate> test_views_delegate(new TestViewsDelegate());
- views::ViewsDelegate::views_delegate = test_views_delegate.get();
+ views::ViewsDelegate::views_delegate = new TestViewsDelegate();
ui::Clipboard* clipboard
= views::ViewsDelegate::views_delegate->GetClipboard();
string16 initial_clipboard_text;