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

Unified Diff: ui/views/view.cc

Issue 239093007: Update Windows UI on system color changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restore change from bad rebase. Created 6 years, 8 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 | « ui/views/linux_ui/native_theme_change_observer.h ('k') | ui/views/views.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.cc
diff --git a/ui/views/view.cc b/ui/views/view.cc
index 1ed47415d31cd6eea0adcf432e47595e5a07921c..f4f6f0d577dffded361184822bb4f012f532f88e 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -245,7 +245,7 @@ void View::AddChildViewAt(View* view, int index) {
RegisterChildrenForVisibleBoundsNotification(view);
const ui::NativeTheme* new_theme = widget->GetNativeTheme();
if (new_theme != old_theme)
- PropagateNativeThemeChanged(new_theme);
+ view->PropagateNativeThemeChanged(new_theme);
if (view->visible())
view->SchedulePaint();
}
« no previous file with comments | « ui/views/linux_ui/native_theme_change_observer.h ('k') | ui/views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698