| Index: trunk/src/ash/display/screen_ash.cc
|
| ===================================================================
|
| --- trunk/src/ash/display/screen_ash.cc (revision 258102)
|
| +++ trunk/src/ash/display/screen_ash.cc (working copy)
|
| @@ -232,11 +232,7 @@
|
| const aura::Window* root_window = window->GetRootWindow();
|
| if (!root_window)
|
| return GetPrimaryDisplay();
|
| - const internal::RootWindowSettings* rws =
|
| - internal::GetRootWindowSettings(root_window);
|
| - if (rws->shutdown)
|
| - return gfx::Display();
|
| - int64 id = rws->display_id;
|
| + int64 id = internal::GetRootWindowSettings(root_window)->display_id;
|
| // if id is |kInvaildDisplayID|, it's being deleted.
|
| DCHECK(id != gfx::Display::kInvalidDisplayID);
|
|
|
|
|