diff options
author | tfarina <tfarina@chromium.org> | 2015-11-04 11:21:23 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-04 19:22:10 +0000 |
commit | 23f406f957bfc311337e2d9ee83ea1b44ff8e82e (patch) | |
tree | c48e0034af03c83d90ee29ce6f47689b77de2fbd /ui/aura | |
parent | 8f21b4928cb021fcfb743b56413b658ce7e867aa (diff) | |
download | chromium_src-23f406f957bfc311337e2d9ee83ea1b44ff8e82e.zip chromium_src-23f406f957bfc311337e2d9ee83ea1b44ff8e82e.tar.gz chromium_src-23f406f957bfc311337e2d9ee83ea1b44ff8e82e.tar.bz2 |
ui/gfx/geometry: Rename empty() method to IsEmpty() on Insets APIs.
BUG=None
R=danakj@chromium.org
TBR=sky@chromium.org
Review URL: https://codereview.chromium.org/1410873010
Cr-Commit-Position: refs/heads/master@{#357866}
Diffstat (limited to 'ui/aura')
-rw-r--r-- | ui/aura/window.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/aura/window.cc b/ui/aura/window.cc index 79ef0ce..6ff6c76 100644 --- a/ui/aura/window.cc +++ b/ui/aura/window.cc @@ -758,7 +758,7 @@ Window* Window::GetWindowForPoint(const gfx::Point& local_point, // Check if I should claim this event and not pass it to my children because // the location is inside my hit test override area. For details, see // set_hit_test_bounds_override_inner(). - if (for_event_handling && !hit_test_bounds_override_inner_.empty()) { + if (for_event_handling && !hit_test_bounds_override_inner_.IsEmpty()) { gfx::Rect inset_local_bounds(gfx::Point(), bounds().size()); inset_local_bounds.Inset(hit_test_bounds_override_inner_); // We know we're inside the normal local bounds, so if we're outside the |