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

Unified Diff: chrome/browser/ui/views/password_generation_bubble_view.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: chrome/browser/ui/views/password_generation_bubble_view.cc
diff --git a/chrome/browser/ui/views/password_generation_bubble_view.cc b/chrome/browser/ui/views/password_generation_bubble_view.cc
index c93243d14b7091874992b9c42dddc235eaea28d9..f248b2a479687017879a49969ca9808a7ebbb44e 100644
--- a/chrome/browser/ui/views/password_generation_bubble_view.cc
+++ b/chrome/browser/ui/views/password_generation_bubble_view.cc
@@ -168,7 +168,7 @@ void PasswordGenerationBubbleView::Init() {
textfield_ = new views::Textfield();
textfield_->set_default_width_in_chars(kDefaultTextFieldChars);
textfield_->SetText(base::ASCIIToUTF16(password_generator_->Generate()));
- textfield_->SetController(this);
+ textfield_->set_controller(this);
textfield_wrapper_ = new TextfieldWrapper(textfield_,
regenerate_button_);

Powered by Google App Engine
This is Rietveld 408576698