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

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

Issue 6452011: Rework tree APIs to reflect Google style and more const-correctness.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 74231)
+++ chrome/browser/chromeos/status/status_area_view.cc (working copy)
@@ -53,7 +53,7 @@
gfx::Size StatusAreaView::GetPreferredSize() {
int result_w = kSeparation;
int result_h = 0;
- for (int i = 0; i < GetChildViewCount(); i++) {
+ for (int i = 0; i < child_count(); i++) {
views::View* cur = GetChildViewAt(i);
if (cur->IsVisible()) {
gfx::Size cur_size = cur->GetPreferredSize();
@@ -68,7 +68,7 @@
void StatusAreaView::Layout() {
int cur_x = kSeparation;
- for (int i = 0; i < GetChildViewCount(); i++) {
+ for (int i = 0; i < child_count(); i++) {
views::View* cur = GetChildViewAt(i);
if (cur->IsVisible()) {
gfx::Size cur_size = cur->GetPreferredSize();
« no previous file with comments | « chrome/browser/chromeos/panels/panel_scroller_container.cc ('k') | chrome/browser/chromeos/views/webui_menu_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698