Commit 5077a552 authored by aa@chromium.org's avatar aa@chromium.org

Mojo: Fix DCHECK on middle-click in window manager.

TBR=ben@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278813 0039d316-1c4b-4281-b951-d872f2087c98
parent 65f0ff79
......@@ -116,7 +116,8 @@ class WindowManager : public Application,
app_url = "mojo://mojo_embedded_app";
else if (event->flags & ui::EF_RIGHT_MOUSE_BUTTON)
app_url = "mojo://mojo_nesting_app";
DCHECK(!app_url.empty());
if (app_url.empty())
return;
Node* node = view_manager_->GetNodeById(parent_node_id_);
navigation::NavigationDetailsPtr nav_details(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment