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

Unified Diff: ash/common/system/tray/tray_item_more.cc

Issue 2362443002: Removed font style application in TrayItemMore::ViewHierarchyChanged(). (Closed)
Patch Set: Removed style application from TrayItemMore::ViewHierarchyChanged(). Created 4 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 | « ash/common/system/tray/tray_item_more.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_item_more.cc
diff --git a/ash/common/system/tray/tray_item_more.cc b/ash/common/system/tray/tray_item_more.cc
index 003026c18cefcaab66dc43c752f8c2240b9e5c4a..4f3a4259d55109ad089fb3169628d811756ae8b0 100644
--- a/ash/common/system/tray/tray_item_more.cc
+++ b/ash/common/system/tray/tray_item_more.cc
@@ -116,14 +116,6 @@ void TrayItemMore::GetAccessibleState(ui::AXViewState* state) {
state->name = accessible_name_;
}
-void TrayItemMore::ViewHierarchyChanged(
- const ViewHierarchyChangedDetails& details) {
- ActionableView::ViewHierarchyChanged(details);
-
- if (details.is_add && details.child == this)
- UpdateStyle();
-}
-
void TrayItemMore::OnNativeThemeChanged(const ui::NativeTheme* theme) {
ActionableView::OnNativeThemeChanged(theme);
UpdateStyle();
« no previous file with comments | « ash/common/system/tray/tray_item_more.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698