summaryrefslogtreecommitdiffstats
path: root/ash/wm/resize_handle_window_targeter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/resize_handle_window_targeter.cc')
-rw-r--r--ash/wm/resize_handle_window_targeter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/wm/resize_handle_window_targeter.cc b/ash/wm/resize_handle_window_targeter.cc
index 8ee6924..4ef1abc 100644
--- a/ash/wm/resize_handle_window_targeter.cc
+++ b/ash/wm/resize_handle_window_targeter.cc
@@ -70,7 +70,7 @@ aura::Window* ResizeHandleWindowTargeter::FindTargetForLocatedEvent(
insets = frame_border_inset_;
}
- if (!insets.empty()) {
+ if (!insets.IsEmpty()) {
gfx::Rect bounds = gfx::Rect(window_->bounds().size());
bounds.Inset(insets);
if (!bounds.Contains(event->location()))