Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(687)

Unified Diff: ui/views/view.cc

Issue 380813003: Remove remaining overrides of View::HitTestRect() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase against ToT Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/view.cc
diff --git a/ui/views/view.cc b/ui/views/view.cc
index 0f57d89d7501d9478e74416e9e86618cd3f91871..2961ed786613ab3101e7d63bbc3954f18aa13977 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -948,8 +948,6 @@ bool View::HitTestPoint(const gfx::Point& point) const {
}
bool View::HitTestRect(const gfx::Rect& rect) const {
- // If no ViewTargeter is installed on |this|, use the ViewTargeter installed
- // on our root view instead.
ViewTargeter* view_targeter = targeter();
if (!view_targeter)
view_targeter = GetWidget()->GetRootView()->targeter();

Powered by Google App Engine
This is Rietveld 408576698