Fix a hang on 10.11 caused by -[MDHoverButton layout] making itself need layout.
Updating self.image (on an NSButton subclass) in -layout or -viewWillDraw both seem to lead to an infinite loop in 10.11. I'm not sure if there's a better way to fix this; using different triggers to update the image seems safest. Bug: 805109 Change-Id: I468576069f44eae4a2f4b9058e078d88d157265a Reviewed-on: https://chromium-review.googlesource.com/899586Reviewed-by:Avi Drissman <avi@chromium.org> Commit-Queue: Sidney San Martín <sdy@chromium.org> Cr-Commit-Position: refs/heads/master@{#534137}
Showing
Please register or sign in to comment