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

Unified Diff: trunk/src/ash/wm/frame_painter.cc

Issue 25659002: Revert 226347 "Fixes use after free caused by delete in RootWind..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 | « trunk/src/ash/root_window_controller_unittest.cc ('k') | trunk/src/ui/aura/window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ash/wm/frame_painter.cc
===================================================================
--- trunk/src/ash/wm/frame_painter.cc (revision 226376)
+++ trunk/src/ash/wm/frame_painter.cc (working copy)
@@ -177,6 +177,8 @@
// a transparent solo-window header.
std::vector<Window*> GetWindowsForSoloHeaderUpdate(RootWindow* root_window) {
std::vector<Window*> windows;
+ // During shutdown there may not be a workspace controller. In that case
+ // we don't care about updating any windows.
// Avoid memory allocations for typical window counts.
windows.reserve(16);
// Collect windows from the desktop.
« no previous file with comments | « trunk/src/ash/root_window_controller_unittest.cc ('k') | trunk/src/ui/aura/window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698