Commit 757bf678 authored by sadrul@chromium.org's avatar sadrul@chromium.org

aura: Remove an incorrect CHECK.

Touch-events targetted to the root-window can be handled. This can happen
when, for example, an event handler is installed on the Env, or the RootWindow,
which takes some action based on the touch event.

BUG=chrome-os-partner:17053

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175882 0039d316-1c4b-4281-b951-d872f2087c98
parent 2e459a18
...@@ -830,7 +830,6 @@ bool RootWindow::OnHostTouchEvent(ui::TouchEvent* event) { ...@@ -830,7 +830,6 @@ bool RootWindow::OnHostTouchEvent(ui::TouchEvent* event) {
// If the initial touch is outside the root window, target the root. // If the initial touch is outside the root window, target the root.
target = this; target = this;
ProcessEvent(target ? target : NULL, event); ProcessEvent(target ? target : NULL, event);
CHECK_EQ(ui::ER_UNHANDLED, event->result());
result = event->result(); result = event->result();
} else { } else {
// We only come here when the first contact was within the root window. // We only come here when the first contact was within the root window.
......
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