| Index: ui/aura_shell/examples/window_type_launcher.cc
|
| diff --git a/ui/aura_shell/examples/window_type_launcher.cc b/ui/aura_shell/examples/window_type_launcher.cc
|
| index ec22a9f0418dbe52e263b0ad2d5c15ddc0714488..b2a897a38f4cfc23175f2881df306aaf50e0b2f7 100644
|
| --- a/ui/aura_shell/examples/window_type_launcher.cc
|
| +++ b/ui/aura_shell/examples/window_type_launcher.cc
|
| @@ -41,7 +41,7 @@ void CalculateWindowBoundsAndScaleForTiling(
|
| int shown_window_count = 0;
|
| for (aura::Window::Windows::const_iterator i = windows.begin();
|
| i != windows.end(); ++i) {
|
| - if ((*i)->visible()) {
|
| + if ((*i)->IsVisible()) {
|
| total_width += (*i)->bounds().width();
|
| max_height = std::max((*i)->bounds().height(), max_height);
|
| shown_window_count++;
|
| @@ -68,7 +68,7 @@ void CalculateWindowBoundsAndScaleForTiling(
|
| for (aura::Window::Windows::const_iterator i = windows.begin();
|
| i != windows.end();
|
| ++i) {
|
| - if ((*i)->visible()) {
|
| + if ((*i)->IsVisible()) {
|
| const gfx::Rect& current_bounds((*i)->bounds());
|
| int y = (containing_size.height() -
|
| current_bounds.height() * *y_scale) / 2;
|
|
|