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

Unified Diff: views/layout/grid_layout_unittest.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
« no previous file with comments | « views/layout/grid_layout.cc ('k') | views/view.h » ('j') | views/view.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/layout/grid_layout_unittest.cc
===================================================================
--- views/layout/grid_layout_unittest.cc (revision 74117)
+++ views/layout/grid_layout_unittest.cc (working copy)
@@ -62,9 +62,8 @@
}
virtual void RemoveAll() {
- for (int i = host.GetChildViewCount() - 1; i >= 0; i--) {
+ for (int i = host.child_count() - 1; i >= 0; i--)
host.RemoveChildView(host.GetChildViewAt(i));
- }
}
void GetPreferredSize() {
@@ -92,9 +91,8 @@
}
virtual void RemoveAll() {
- for (int i = host.GetChildViewCount() - 1; i >= 0; i--) {
+ for (int i = host.child_count() - 1; i >= 0; i--)
host.RemoveChildView(host.GetChildViewAt(i));
- }
}
void TestAlignment(GridLayout::Alignment alignment, gfx::Rect* bounds) {
« no previous file with comments | « views/layout/grid_layout.cc ('k') | views/view.h » ('j') | views/view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698