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

Unified Diff: ui/platform_window/win/win_window.h

Issue 1139673003: Make Mandoline shut down cleanly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix crash in surfaces if surfaceimpl outlives the app, and a double delete in browser Created 5 years, 7 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
Index: ui/platform_window/win/win_window.h
diff --git a/ui/platform_window/win/win_window.h b/ui/platform_window/win/win_window.h
index 8fb8adc5ebf1e2bb330727015256c6842d50b698..d401993d20303890f40e8d9be5b2a32eab669eec 100644
--- a/ui/platform_window/win/win_window.h
+++ b/ui/platform_window/win/win_window.h
@@ -71,6 +71,7 @@ class WIN_WINDOW_EXPORT WinWindow : public NON_EXPORTED_BASE(PlatformWindow),
void OnWindowPosChanged(WINDOWPOS* window_pos);
PlatformWindowDelegate* delegate_;
+ bool destroyed_;
DISALLOW_COPY_AND_ASSIGN(WinWindow);
};

Powered by Google App Engine
This is Rietveld 408576698