| Index: ash/aura/wm_window_aura.cc
|
| diff --git a/ash/aura/wm_window_aura.cc b/ash/aura/wm_window_aura.cc
|
| index 741abe960795b7f531e81f345cb4ebc15cf949ef..782b1b63edcca06f9aa08d193d3630b1644517f8 100644
|
| --- a/ash/aura/wm_window_aura.cc
|
| +++ b/ash/aura/wm_window_aura.cc
|
| @@ -427,7 +427,8 @@ void WmWindowAura::SetRestoreBoundsInScreen(const gfx::Rect& bounds) {
|
| }
|
|
|
| gfx::Rect WmWindowAura::GetRestoreBoundsInScreen() const {
|
| - return *window_->GetProperty(aura::client::kRestoreBoundsKey);
|
| + gfx::Rect* bounds = window_->GetProperty(aura::client::kRestoreBoundsKey);
|
| + return bounds ? *bounds : gfx::Rect();
|
| }
|
|
|
| bool WmWindowAura::Contains(const WmWindow* other) const {
|
|
|