Index: components/exo/shell_surface.cc |
diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc |
index d7c1e13ec08b3eaf11c84c10c8cffe55ab147eed..c1fa2e241f7a6addcfb00bf66067b71935064209 100644 |
--- a/components/exo/shell_surface.cc |
+++ b/components/exo/shell_surface.cc |
@@ -1309,7 +1309,8 @@ void ShellSurface::AttemptToStartDrag(int component) { |
// eventually call LockCursor() and prevent the cursor from changing. |
aura::client::CursorClient* cursor_client = |
aura::client::GetCursorClient(window->GetRootWindow()); |
- DCHECK(cursor_client); |
+ if (!cursor_client) |
+ return; |
switch (component) { |
case HTCAPTION: |