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

Unified Diff: views/controls/tabbed_pane/native_tabbed_pane_win.cc

Issue 7057014: Variety of tweaks to View API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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/controls/single_split_view.cc ('k') | views/controls/tabbed_pane/tabbed_pane.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/tabbed_pane/native_tabbed_pane_win.cc
===================================================================
--- views/controls/tabbed_pane/native_tabbed_pane_win.cc (revision 86084)
+++ views/controls/tabbed_pane/native_tabbed_pane_win.cc (working copy)
@@ -79,7 +79,7 @@
for (int i = 0; i < host->child_count(); ++i) {
View* child = host->GetChildViewAt(i);
// We only layout visible children, since it may be expensive.
- if (child->IsVisible() && child->bounds() != bounds)
+ if (child->visible() && child->bounds() != bounds)
child->SetBoundsRect(bounds);
}
}
« no previous file with comments | « views/controls/single_split_view.cc ('k') | views/controls/tabbed_pane/tabbed_pane.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698