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

Unified Diff: trunk/src/ui/views/widget/widget.cc

Issue 196953009: Revert 256563 "Reland r256396 Add views implementation for AXTre..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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 | « trunk/src/ui/views/views.gyp ('k') | trunk/src/ui/views/widget/widget_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/views/widget/widget.cc
===================================================================
--- trunk/src/ui/views/widget/widget.cc (revision 256744)
+++ trunk/src/ui/views/widget/widget.cc (working copy)
@@ -427,13 +427,6 @@
focus_manager->ViewRemoved(details.child);
ViewStorage::GetInstance()->ViewRemoved(details.child);
native_widget_->ViewRemoved(details.child);
-
- // Many observers do not remove themselves during destruction, so we must
- // not notify once we destroy our |root_view_|.
- if (root_view_.get()) {
- FOR_EACH_OBSERVER(
- WidgetObserver, observers_, OnViewRemoved(this, details.child));
- }
}
}
« no previous file with comments | « trunk/src/ui/views/views.gyp ('k') | trunk/src/ui/views/widget/widget_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698