Media Galleries: Add some CHECKs to try to diagnose a crash.
commit00516ee8431cdea4a46b704280e3ff45aabbef17
authortommycli <tommycli@chromium.org>
Thu, 18 Jun 2015 19:25:58 +0000 (18 12:25 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 18 Jun 2015 19:26:32 +0000 (18 19:26 +0000)
tree3e574ff7c7613c878ea7c8b2eab71ff0d27fbed6
parentbf97b819f48010c54e932a2a7f1e9523a6c5d669
Media Galleries: Add some CHECKs to try to diagnose a crash.

Based on the crash signatures in the bug, I suspect that
extensions::EventListenerMap::HasListenerForExtension is being called with
a nullptr 'this', but I'm not sure.

BUG=467627

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

Cr-Commit-Position: refs/heads/master@{#335099}
chrome/browser/extensions/api/media_galleries/media_galleries_api.cc