Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2216)

Unified Diff: content/shell/browser/shell_views.cc

Issue 138363004: Views Textfield fixes and cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove the unused controller accessor. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/shell/browser/shell_views.cc
diff --git a/content/shell/browser/shell_views.cc b/content/shell/browser/shell_views.cc
index 47f61eed8d4771d76adc803a95fa762ed4d67b2e..97668c4eacbc6cd6d2367f85d460cca882a9d4cc 100644
--- a/content/shell/browser/shell_views.cc
+++ b/content/shell/browser/shell_views.cc
@@ -184,7 +184,7 @@ class ShellWindowDelegateView : public views::WidgetDelegateView,
toolbar_column_set->AddPaddingColumn(0, 2);
// URL entry
url_entry_ = new views::Textfield();
- url_entry_->SetController(this);
+ url_entry_->set_controller(this);
toolbar_column_set->AddColumn(views::GridLayout::FILL,
views::GridLayout::FILL, 1,
views::GridLayout::USE_PREF, 0, 0);

Powered by Google App Engine
This is Rietveld 408576698