Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(527)

Issue 608013002: Fix regression where extension action icons may not be displayed properly (Closed)

Created:
6 years, 2 months ago by Devlin
Modified:
6 years, 2 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix regression where extension action icons may not be displayed properly A BrowserActionView can set its image view for the first time in UpdateState(), but UpdateState() only called SchedulePaint(), and not Layout() (which is necessary for the image). Coincidentally, with all the Layout()s called on BrowserActionsContainer, this only manifested itself in Windows 8 Metro Mode (likely because race conditions caused the image to be updated after all calls to Layout()). BUG=409782 Committed: https://crrev.com/e458b1081aaa5e60d5e32ed93d882ed9b65126d2 Cr-Commit-Position: refs/heads/master@{#297069}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M chrome/browser/ui/views/toolbar/browser_action_view.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Devlin
Peter, mind taking a quick look?
6 years, 2 months ago (2014-09-26 19:36:09 UTC) #2
Peter Kasting
https://codereview.chromium.org/608013002/diff/1/chrome/browser/ui/views/toolbar/browser_action_view.cc File chrome/browser/ui/views/toolbar/browser_action_view.cc (right): https://codereview.chromium.org/608013002/diff/1/chrome/browser/ui/views/toolbar/browser_action_view.cc#newcode82 chrome/browser/ui/views/toolbar/browser_action_view.cc:82: Layout(); // We need to layout since we may ...
6 years, 2 months ago (2014-09-26 20:28:18 UTC) #3
Devlin
https://codereview.chromium.org/608013002/diff/1/chrome/browser/ui/views/toolbar/browser_action_view.cc File chrome/browser/ui/views/toolbar/browser_action_view.cc (right): https://codereview.chromium.org/608013002/diff/1/chrome/browser/ui/views/toolbar/browser_action_view.cc#newcode82 chrome/browser/ui/views/toolbar/browser_action_view.cc:82: Layout(); // We need to layout since we may ...
6 years, 2 months ago (2014-09-26 20:45:34 UTC) #4
Peter Kasting
LGTM
6 years, 2 months ago (2014-09-26 20:46:25 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/608013002/20001
6 years, 2 months ago (2014-09-26 20:48:54 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001) as f4a2edc4372e9c72713277b96a701724c25937da
6 years, 2 months ago (2014-09-26 23:30:57 UTC) #8
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 23:31:37 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e458b1081aaa5e60d5e32ed93d882ed9b65126d2
Cr-Commit-Position: refs/heads/master@{#297069}

Powered by Google App Engine
This is Rietveld 408576698