Index: mojo/examples/window_manager/debug_panel.cc |
diff --git a/mojo/examples/window_manager/debug_panel.cc b/mojo/examples/window_manager/debug_panel.cc |
index 7d86cfef7fdf654b5eecd0afd5e46af5350a02df..7551fb4684aa4a56e3ed29501d8bd10df340d750 100644 |
--- a/mojo/examples/window_manager/debug_panel.cc |
+++ b/mojo/examples/window_manager/debug_panel.cc |
@@ -99,7 +99,7 @@ void DebugPanel::Layout(views::View* view) { |
navigation_target_new_, |
navigation_target_source_, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(radios); ++i) { |
+ for (size_t i = 0; i < arraysize(radios); ++i) { |
radios[i]->SetBounds(kControlBorderInset, y, w, |
radios[i]->GetPreferredSize().height()); |
y += radios[i]->height(); |
@@ -111,7 +111,7 @@ void DebugPanel::Layout(views::View* view) { |
close_last_, |
cross_app_, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(buttons); ++i) { |
+ for (size_t i = 0; i < arraysize(buttons); ++i) { |
buttons[i]->SetBounds(kControlBorderInset, y, w, |
buttons[i]->GetPreferredSize().height()); |
y += buttons[i]->height(); |