Chromium Code Reviews
Descriptionash: Remove unnecessary WmShelf::SchedulePaint() method
This method existed because the overflow bubble used it to cause a repaint of
the overflow button in the parent shelf view. Instead of repainting all the
buttons, just repaint the anchor directly.
(I am uncertain this code path ever gets called in production. It would only
run if some code directly destroyed the bubble widget instead of calling into
the shelf code to do so. This does not seem to happen at shutdown or when
disconnecting a display, even with the bubble visible. However, failure to
cleanup the cached pointers in OverflowBubble on widget destruction would
cause crashes, so I'm keeping the OnWidgetDestroying() method.)
BUG=615502
TEST=ash_browsertests, manual tests of opening and closing the overflow bubble
on multiple displays
Committed: https://crrev.com/44f141a103fe98f7c1be86ab8dfe80ce49204ca5
Cr-Commit-Position: refs/heads/master@{#413556}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 12 (7 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||