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

Unified Diff: chrome/browser/chromeos/status/status_area_view.cc

Issue 7349021: Convert some more view methods to the ui/views style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/chromeos/status/status_area_view.cc
===================================================================
--- chrome/browser/chromeos/status/status_area_view.cc (revision 92366)
+++ chrome/browser/chromeos/status/status_area_view.cc (working copy)
@@ -65,7 +65,7 @@
int result_h = 0;
for (int i = 0; i < child_count(); i++) {
- views::View* cur = GetChildViewAt(i);
+ views::View* cur = child_at(i);
gfx::Size cur_size = cur->GetPreferredSize();
if (cur->IsVisible() && !cur_size.IsEmpty()) {
if (result_w == 0)
@@ -83,7 +83,7 @@
void StatusAreaView::Layout() {
int cur_x = kSeparation;
for (int i = 0; i < child_count(); i++) {
- views::View* cur = GetChildViewAt(i);
+ views::View* cur = child_at(i);
gfx::Size cur_size = cur->GetPreferredSize();
if (cur->IsVisible() && !cur_size.IsEmpty()) {
int cur_y = (height() - cur_size.height()) / 2;

Powered by Google App Engine
This is Rietveld 408576698