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

Unified Diff: chrome/browser/ui/views/about_chrome_view.cc

Issue 9837059: Cleanup for views::Label: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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/about_chrome_view.cc
===================================================================
--- chrome/browser/ui/views/about_chrome_view.cc (revision 128075)
+++ chrome/browser/ui/views/about_chrome_view.cc (working copy)
@@ -256,8 +256,8 @@
// Add together all the strings in the dialog for the purpose of calculating
// the height of the dialog. The space for the Terms of Service string is not
// included (it is added later, if needed).
- string16 full_text = main_label_chunk1_ + chromium_url_->GetText() +
- main_label_chunk2_ + open_source_url_->GetText() +
+ string16 full_text = main_label_chunk1_ + chromium_url_->text() +
+ main_label_chunk2_ + open_source_url_->text() +
main_label_chunk3_;
dialog_dimensions_ = views::Widget::GetLocalizedContentsSize(
@@ -787,7 +787,7 @@
}
int AboutChromeView::EnlargeWindowSizeIfNeeded() {
- if (!error_label_ || error_label_->GetText().empty())
+ if (!error_label_ || error_label_->text().empty())
return 0;
// This will enlarge the window each time the function is called, which is
« no previous file with comments | « chrome/browser/chromeos/status/status_area_bubble.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698