| Index: ash/wm/shadow_controller.cc
|
| diff --git a/ash/wm/shadow_controller.cc b/ash/wm/shadow_controller.cc
|
| index 869a0b272c0980eed96ec56ffdf4bf2f2f0d9fd8..172300cf703eb3672d1bc01eb320526ca3a62e77 100644
|
| --- a/ash/wm/shadow_controller.cc
|
| +++ b/ash/wm/shadow_controller.cc
|
| @@ -162,8 +162,7 @@ void ShadowController::CreateShadowForWindow(aura::Window* window) {
|
| linked_ptr<Shadow> shadow(new Shadow());
|
| window_shadows_.insert(make_pair(window, shadow));
|
|
|
| - shadow->Init(window,
|
| - ShouldUseSmallShadowForWindow(window) ?
|
| + shadow->Init(ShouldUseSmallShadowForWindow(window) ?
|
| Shadow::STYLE_SMALL : Shadow::STYLE_ACTIVE);
|
| shadow->SetContentBounds(gfx::Rect(window->bounds().size()));
|
| shadow->layer()->SetVisible(ShouldShowShadowForWindow(window));
|
|
|