summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-09 20:53:36 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-09 20:53:36 +0000
commit757bf67826b3ebf500bc0112b3390d4547455b9e (patch)
treece46f8bcd0d65bb7adf24613eb80efec31979158
parent2e459a1823a9e5323317a49834e92572cdd8f4b5 (diff)
downloadchromium_src-757bf67826b3ebf500bc0112b3390d4547455b9e.zip
chromium_src-757bf67826b3ebf500bc0112b3390d4547455b9e.tar.gz
chromium_src-757bf67826b3ebf500bc0112b3390d4547455b9e.tar.bz2
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
-rw-r--r--ui/aura/root_window.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index 34fe47f..d79c6ec 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -830,7 +830,6 @@ bool RootWindow::OnHostTouchEvent(ui::TouchEvent* event) {
// If the initial touch is outside the root window, target the root.
target = this;
ProcessEvent(target ? target : NULL, event);
- CHECK_EQ(ui::ER_UNHANDLED, event->result());
result = event->result();
} else {
// We only come here when the first contact was within the root window.