Index: ui/views/widget/desktop_native_widget_aura.cc |
diff --git a/ui/views/widget/desktop_native_widget_aura.cc b/ui/views/widget/desktop_native_widget_aura.cc |
index 0a9a16888498095fc7a150e79b6d6f61b58d417d..b21ef1e72b9bb07169b9a8c4d586a87816dd34a5 100644 |
--- a/ui/views/widget/desktop_native_widget_aura.cc |
+++ b/ui/views/widget/desktop_native_widget_aura.cc |
@@ -29,33 +29,6 @@ namespace views { |
DEFINE_WINDOW_PROPERTY_KEY(DesktopNativeWidgetAura*, |
kDesktopNativeWidgetAuraKey, NULL); |
-namespace { |
- |
-class DesktopNativeWidgetAuraStackingClient : |
- public aura::client::StackingClient { |
- public: |
- explicit DesktopNativeWidgetAuraStackingClient(aura::RootWindow* root_window) |
- : root_window_(root_window) { |
- aura::client::SetStackingClient(root_window_, this); |
- } |
- virtual ~DesktopNativeWidgetAuraStackingClient() { |
- aura::client::SetStackingClient(root_window_, NULL); |
- } |
- |
- // Overridden from client::StackingClient: |
- virtual aura::Window* GetDefaultParent(aura::Window* window, |
- const gfx::Rect& bounds) OVERRIDE { |
- return root_window_; |
- } |
- |
- private: |
- aura::RootWindow* root_window_; |
- |
- DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAuraStackingClient); |
-}; |
- |
-} // namespace |
- |
//////////////////////////////////////////////////////////////////////////////// |
// DesktopNativeWidgetAura, public: |
@@ -108,8 +81,6 @@ void DesktopNativeWidgetAura::InitNativeWidget( |
this, params.bounds); |
root_window_.reset( |
desktop_root_window_host_->Init(window_, params)); |
- stacking_client_.reset( |
- new DesktopNativeWidgetAuraStackingClient(root_window_.get())); |
aura::client::SetActivationDelegate(window_, this); |
} |