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

Unified Diff: chrome/browser/ui/views/toolbar/browser_action_view.cc

Issue 608013002: Fix regression where extension action icons may not be displayed properly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/toolbar/browser_action_view.cc
diff --git a/chrome/browser/ui/views/toolbar/browser_action_view.cc b/chrome/browser/ui/views/toolbar/browser_action_view.cc
index 2ae971d8dcba2eaa335234b188a76332b6962c05..0e1e724f03670420c907252e70549ae94a095e00 100644
--- a/chrome/browser/ui/views/toolbar/browser_action_view.cc
+++ b/chrome/browser/ui/views/toolbar/browser_action_view.cc
@@ -79,6 +79,7 @@ BrowserActionView::BrowserActionView(const Extension* extension,
content::Source<ThemeService>(
ThemeServiceFactory::GetForProfile(browser->profile())));
+ Layout(); // We need to layout since we may have added an icon as a result.
Peter Kasting 2014/09/26 20:28:17 Should Layout() call UpdateState()? Conversely, s
Devlin 2014/09/26 20:45:34 Sorry about that - copied the patch over from a Wi
UpdateState();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698