| Index: ui/aura_shell/workspace/workspace.cc
|
| diff --git a/ui/aura_shell/workspace/workspace.cc b/ui/aura_shell/workspace/workspace.cc
|
| index 5623e43c654a1e8d74557c725a2c48b1821c185d..8e9f2cda5d8401e96b8737527ccca47062402141 100644
|
| --- a/ui/aura_shell/workspace/workspace.cc
|
| +++ b/ui/aura_shell/workspace/workspace.cc
|
| @@ -60,7 +60,6 @@ void Workspace::RemoveWindow(aura::Window* window) {
|
| Layout(NULL);
|
| }
|
|
|
| -
|
| bool Workspace::Contains(aura::Window* window) const {
|
| return std::find(windows_.begin(), windows_.end(), window) != windows_.end();
|
| }
|
| @@ -74,7 +73,7 @@ void Workspace::Layout(aura::Window* no_animation) {
|
| int total_width = 0;
|
| for (aura::Window::Windows::const_iterator i = windows_.begin();
|
| i != windows_.end();
|
| - i++) {
|
| + ++i) {
|
| if (total_width)
|
| total_width += kWindowHorizontalMargin;
|
| // TODO(oshima): use restored bounds.
|
| @@ -85,7 +84,7 @@ void Workspace::Layout(aura::Window* no_animation) {
|
| int dx = (work_area.width() - total_width) / 2;
|
| for (aura::Window::Windows::iterator i = windows_.begin();
|
| i != windows_.end();
|
| - i++) {
|
| + ++i) {
|
| MoveWindowTo(*i,
|
| gfx::Point(work_area.x() + dx, work_area.y()),
|
| no_animation != *i);
|
|
|