| Index: ui/aura/window.cc
|
| diff --git a/ui/aura/window.cc b/ui/aura/window.cc
|
| index 4645659b3ad56ea891387eff4e9190837c33cefe..8faee5c377109b081fbb6863adf1ee0c9b123bb8 100644
|
| --- a/ui/aura/window.cc
|
| +++ b/ui/aura/window.cc
|
| @@ -664,13 +664,7 @@ bool Window::ContainsPoint(const gfx::Point& local_point) const {
|
| }
|
|
|
| bool Window::HitTest(const gfx::Point& local_point) {
|
| - // Expand my bounds for hit testing (override is usually zero but it's
|
| - // probably cheaper to do the math every time than to branch).
|
| - gfx::Rect local_bounds(gfx::Point(), bounds().size());
|
| - local_bounds.Inset(aura::Env::GetInstance()->is_touch_down() ?
|
| - hit_test_bounds_override_outer_touch_ :
|
| - hit_test_bounds_override_outer_mouse_);
|
| -
|
| + gfx::Rect local_bounds(bounds().size());
|
| if (!delegate_ || !delegate_->HasHitTestMask())
|
| return local_bounds.Contains(local_point);
|
|
|
|
|