diff options
Diffstat (limited to 'ui/aura/window.h')
-rw-r--r-- | ui/aura/window.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ui/aura/window.h b/ui/aura/window.h index 698c90e..73ba2dd 100644 --- a/ui/aura/window.h +++ b/ui/aura/window.h @@ -72,16 +72,6 @@ class AURA_EXPORT Window : public ui::LayerDelegate { ui::Layer* layer() { return layer_.get(); } const ui::Layer* layer() const { return layer_.get(); } - // Releases the Window's reference to its layer, and returns it. - // This is used when you need to animate the presentation of the Window just - // prior to destroying it. The window can be destroyed soon after calling this - // function, and the caller is then responsible for disposing of the layer - // once any animation completes. - // Note that Window methods generally don't expect a NULL layer, and so this - // function should only be called right before destroying the Window, - // otherwise you will crash. - ui::Layer* AcquireLayer(); - WindowDelegate* delegate() { return delegate_; } const gfx::Rect& bounds() const; |