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

Unified Diff: ui/views/controls/message_box_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
« no previous file with comments | « ui/views/controls/label_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/message_box_view.cc
===================================================================
--- ui/views/controls/message_box_view.cc (revision 128075)
+++ ui/views/controls/message_box_view.cc (working copy)
@@ -154,9 +154,9 @@
return false;
ui::ScopedClipboardWriter scw(clipboard, ui::Clipboard::BUFFER_STANDARD);
- string16 text = message_labels_[0]->GetText();
+ string16 text = message_labels_[0]->text();
for (size_t i = 1; i < message_labels_.size(); ++i)
- text += message_labels_[i]->GetText();
+ text += message_labels_[i]->text();
scw.WriteText(text);
return true;
}
« no previous file with comments | « ui/views/controls/label_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698