Chromium Code Reviews| Index: ui/aura/window.cc |
| diff --git a/ui/aura/window.cc b/ui/aura/window.cc |
| index d1caa0416e6eab3ea3e35464644793eef6d29341..0e8518d62d39ff42346d85a7881c2fda44b96e12 100644 |
| --- a/ui/aura/window.cc |
| +++ b/ui/aura/window.cc |
| @@ -71,7 +71,7 @@ Window::~Window() { |
| } |
| void Window::Init(ui::Layer::LayerType layer_type) { |
| - layer_.reset(new ui::Layer(Desktop::GetInstance()->compositor(), layer_type)); |
| + layer_.reset(new ui::Layer(layer_type)); |
| layer_->SetVisible(false); |
| layer_->set_delegate(this); |
| } |