GuestView: Replace CHECK with bad_message

If a MimeHandlerViewGuest and a guest WebContents are created without a proper
GuestViewManager in place (for the owner WebContents BrowserContext), we are currently
CHECK-ing the browser. It might be wise to simply destroy the GuestView and crash the
embedder process on a bad message instead.

Bug: 659750
Change-Id: Ie46ede5889ec9ce087fcb4d3fb9d98adb6300314
Reviewed-on: https://chromium-review.googlesource.com/c/1378810
Reviewed-by: Kevin McNee <mcnee@chromium.org>
Commit-Queue: Ehsan Karamad <ekaramad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#616835}
1 file changed