Commit 77e36227 authored by Nick Diego Yamane's avatar Nick Diego Yamane Committed by Chromium LUCI CQ

Remove redundant conditional from View::SetBoundsRect

R=sky@chromium.org

Bug: None
Change-Id: If56f5d55e63a1456c2c66ee476f1b14a4ee03e73
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2571808
Auto-Submit: Nick Yamane <nickdiego@igalia.com>
Commit-Queue: Scott Violet <sky@chromium.org>
Reviewed-by: default avatarScott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833486}
parent 040f510e
......@@ -362,7 +362,6 @@ void View::SetBoundsRect(const gfx::Rect& bounds) {
}
OnBoundsChanged(prev);
if (bounds_ != prev)
NotifyAccessibilityEvent(ax::mojom::Event::kLocationChanged, false);
if (needs_layout_ || is_size_changed) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment