Index: ash/shell.cc |
diff --git a/ash/shell.cc b/ash/shell.cc |
index 96a89217a37c0c17c8b885936a37987488329940..fa8164ddbd59ec8ed52f07ac23a0a70e89df5547 100644 |
--- a/ash/shell.cc |
+++ b/ash/shell.cc |
@@ -84,6 +84,7 @@ |
#include "ui/aura/root_window.h" |
#include "ui/aura/window.h" |
#include "ui/base/ui_base_switches.h" |
+#include "ui/compositor/compositor_retriever_delegate.h" |
#include "ui/compositor/layer.h" |
#include "ui/compositor/layer_animator.h" |
#include "ui/gfx/display.h" |
@@ -225,6 +226,7 @@ Shell::Shell(ShellDelegate* delegate) |
if (!gfx::Screen::GetScreenByType(gfx::SCREEN_TYPE_NATIVE)) |
gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, screen_); |
display_controller_.reset(new DisplayController); |
+ ui::CompositorRetrieverDelegate::SetDelegate(display_controller_.get()); |
#if defined(OS_CHROMEOS) && defined(USE_X11) |
bool is_panel_fitting_disabled = |
content::GpuDataManager::GetInstance()->IsFeatureBlacklisted( |