Index: ui/views/view.cc |
diff --git a/ui/views/view.cc b/ui/views/view.cc |
index 3cb42dca9dab0b6b57422f07348b4cc15293f3fa..0640d6f495c0244f1aa487171e4f15e39763fc2a 100644 |
--- a/ui/views/view.cc |
+++ b/ui/views/view.cc |
@@ -105,6 +105,7 @@ View::View() |
parent_(NULL), |
visible_(true), |
enabled_(true), |
+ attributes_(this), |
notify_enter_exit_on_child_(false), |
registered_for_visible_bounds_notification_(false), |
needs_layout_(true), |
@@ -1858,6 +1859,7 @@ void View::PropagateAddNotifications( |
for (int i = 0, count = child_count(); i < count; ++i) |
child_at(i)->PropagateAddNotifications(details); |
ViewHierarchyChangedImpl(true, details); |
+ attributes_.ViewNotification(this); |
} |
void View::PropagateNativeViewHierarchyChanged() { |
@@ -1954,6 +1956,7 @@ void View::BoundsChanged(const gfx::Rect& previous_bounds) { |
(*i)->OnVisibleBoundsChanged(); |
} |
} |
+ attributes_.ViewNotification(this); |
} |
// static |