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

Unified Diff: chrome/browser/views/shelf_item_dialog.cc

Issue 113940: Make Textfield more portable.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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
« no previous file with comments | « chrome/browser/views/options/general_page_view.cc ('k') | views/controls/message_box_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/shelf_item_dialog.cc
===================================================================
--- chrome/browser/views/shelf_item_dialog.cc (revision 17056)
+++ chrome/browser/views/shelf_item_dialog.cc (working copy)
@@ -453,7 +453,7 @@
DCHECK(delegate_);
GURL url(GetInputURL());
const std::wstring title =
- title_field_ ? title_field_->GetText() : std::wstring();
+ title_field_ ? title_field_->text() : std::wstring();
delegate_->AddBookmark(this, title, url);
}
@@ -519,5 +519,5 @@
}
GURL ShelfItemDialog::GetInputURL() const {
- return GURL(URLFixerUpper::FixupURL(url_field_->GetText(), L""));
+ return GURL(URLFixerUpper::FixupURL(url_field_->text(), L""));
}
« no previous file with comments | « chrome/browser/views/options/general_page_view.cc ('k') | views/controls/message_box_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698