Index: ui/aura/remote_root_window_host_win.cc |
diff --git a/ui/aura/remote_root_window_host_win.cc b/ui/aura/remote_root_window_host_win.cc |
index 3e7837b39c294dcac8370f6b4ddeaedcb16dd9ed..2b575c4d8eab9bc62e2a44b0c446441479832a81 100644 |
--- a/ui/aura/remote_root_window_host_win.cc |
+++ b/ui/aura/remote_root_window_host_win.cc |
@@ -150,7 +150,8 @@ void RemoteRootWindowHostWin::Connected(IPC::Sender* host, HWND remote_window) { |
} |
void RemoteRootWindowHostWin::Disconnected() { |
- CHECK(host_ != NULL); |
+ // Don't CHECK here, Disconnected is called on a channel error which can |
+ // happen before we're successfully Connected. |
host_ = NULL; |
remote_window_ = NULL; |
} |