Fixes DCHECK failure due to aura::Window opacity.
DCHECK failure occured at this line: https://cs.chromium.org/chromium/src/ui/aura/window.cc?type=cs&l=244 Because we are only at 0% opacity right before we animate in or right before our window is removed, I think it should be safe to just avoid the DCHECK by using an approximate value instead of 0% opacity. Bug: b:113298385 Change-Id: I5dcc2b93a45a515e3a0d9278fc835e919cf01cd6 Reviewed-on: https://chromium-review.googlesource.com/1208823Reviewed-by:Xiaohui Chen <xiaohuic@chromium.org> Commit-Queue: David Black <dmblack@google.com> Cr-Commit-Position: refs/heads/master@{#589079}
Showing
Please register or sign in to comment