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

Unified Diff: ui/views/widget/native_widget_aura.cc

Issue 9352006: Another revert of change caused by bad merge. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert bad merge Created 8 years, 10 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: ui/views/widget/native_widget_aura.cc
diff --git a/ui/views/widget/native_widget_aura.cc b/ui/views/widget/native_widget_aura.cc
index 5e66c6c8961da57bf4d4a9a8f57a00e94d7ddd0b..d2970f1c7b47a380b9ff5d37ab158bf2fee9ed7d 100644
--- a/ui/views/widget/native_widget_aura.cc
+++ b/ui/views/widget/native_widget_aura.cc
@@ -729,6 +729,9 @@ void NativeWidgetAura::OnWindowDestroying() {
// If the aura::Window is destroyed, we can no longer show tooltips.
tooltip_manager_.reset();
+
+ // Cleanup properties associated with the window here.
+ delete GetRestoreBounds(window_);
}
void NativeWidgetAura::OnWindowDestroyed() {
« 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