[Ash] ShapedAppWindowTargeter treats empty shapes as empty hit test masks.
Previously, setShape({'rects': []}) or setShape({'rects': [{left:0, width:0, top:0, height:1}]}) would make the window completely transparent, but still capture input. This was because ShapedAppWindowTargeter::GetHitTestMask returned false if the shape was empty. It now returns false only if the shape is NULL. BUG=417014 Review URL: https://codereview.chromium.org/602013002 Cr-Commit-Position: refs/heads/master@{#296975}
Showing
Please register or sign in to comment