Minor refactor of ShelfWindowWatcher
Get rid of an unused variable, and properly use OnWindowAdded() instead of OnWindowHierarchyChanged() which can be triggered for many events we're not interested in. BUG=997102 Change-Id: If9f7677bdb6c7f73ddcfa455139149e4d7922ce8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2223367Reviewed-by:Alex Newcomer <newcomer@chromium.org> Commit-Queue: Ahmed Fakhry <afakhry@chromium.org> Cr-Commit-Position: refs/heads/master@{#773739}
Showing
Please register or sign in to comment