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

Unified Diff: views/examples/radio_button_example.cc

Issue 8227003: Views Bubble API adjustments and cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 years, 2 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: views/examples/radio_button_example.cc
diff --git a/views/examples/radio_button_example.cc b/views/examples/radio_button_example.cc
index ae5aa0eb01372ea05807bf04478f125623478cd8..d21d841f9a4a9fb9de1d6352be42895f02637a53 100644
--- a/views/examples/radio_button_example.cc
+++ b/views/examples/radio_button_example.cc
@@ -26,7 +26,8 @@ void RadioButtonExample::CreateExampleView(views::View* container) {
int group = 1;
for (size_t i = 0; i < arraysize(radio_buttons_); ++i) {
radio_buttons_[i] = new views::RadioButton(
- UTF8ToUTF16(base::StringPrintf("Radio %d in group %d", i + 1, group)),
+ UTF8ToUTF16(base::StringPrintf("Radio %d in group %d",
+ static_cast<int>(i + 1), group)),
group);
radio_buttons_[i]->set_listener(this);
}

Powered by Google App Engine
This is Rietveld 408576698