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

Unified Diff: ui/aura/window.h

Issue 25736004: Fixes use after free caused by delete in RootWindowController (2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Shutdown Created 7 years, 2 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 | « ash/wm/frame_painter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 3d3c0b1e095c800db1a7e5338439cdda2446da11..63f9dddb5bc3069374da0d19c3007a5ad9bc81eb 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -80,6 +80,7 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
void set_owned_by_parent(bool owned_by_parent) {
owned_by_parent_ = owned_by_parent;
}
+ bool owned_by_parent() const { return owned_by_parent_; }
// A type is used to identify a class of Windows and customize behavior such
// as event handling and parenting. This field should only be consumed by the
« no previous file with comments | « ash/wm/frame_painter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698