| Index: ash/wm/wm_snap_to_pixel_layout_manager.cc
|
| diff --git a/ash/wm/wm_snap_to_pixel_layout_manager.cc b/ash/wm/wm_snap_to_pixel_layout_manager.cc
|
| index e27d77e4dd868a9f38d3b071cdf90ec93df21c5a..a645cc8b3633243cc92209103e2fe96f99a85827 100644
|
| --- a/ash/wm/wm_snap_to_pixel_layout_manager.cc
|
| +++ b/ash/wm/wm_snap_to_pixel_layout_manager.cc
|
| @@ -20,8 +20,8 @@ WmSnapToPixelLayoutManager::~WmSnapToPixelLayoutManager() {}
|
| // static
|
| void WmSnapToPixelLayoutManager::InstallOnContainers(WmWindow* window) {
|
| for (WmWindow* child : window->GetChildren()) {
|
| - if (child->GetShellWindowId() < kShellWindowId_Min ||
|
| - child->GetShellWindowId() > kShellWindowId_Max) // not a container
|
| + if (child->aura_window()->id() < kShellWindowId_Min ||
|
| + child->aura_window()->id() > kShellWindowId_Max) // not a container
|
| continue;
|
| if (child->aura_window()->GetProperty(kSnapChildrenToPixelBoundary)) {
|
| if (!child->GetLayoutManager() && !child->aura_window()->layout_manager())
|
|
|