Fix an Aura crash several minutes into V2Mirroring
commit7c0546789b9d1eaf04d57b816847cf18aa5d684e
authorgusfernandez <gusfernandez@chromium.org>
Fri, 31 Oct 2014 00:02:46 +0000 (30 17:02 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 31 Oct 2014 00:03:02 +0000 (31 00:03 +0000)
tree32a8b840d7055c5a4ac2daf547b6ae7978779c0c
parente6adf145eae50a465e44ac625f225aeebafd7837
Fix an Aura crash several minutes into V2Mirroring

Since we deleted the gfx::screen each time we closed an app,
A query to the screen size during metrics gathering was causing
a check failure.

BUG=

Review URL: https://codereview.chromium.org/691023003

Cr-Commit-Position: refs/heads/master@{#302194}
chromecast/browser/cast_browser_main_parts.cc
chromecast/browser/cast_content_window.cc