| Index: content/browser/compositor/gpu_process_transport_factory.cc
|
| diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
|
| index 5a6ed1e90ab2d1e4a124d516726515595a6d8a0b..15e1644bafdb011d964f78d804ff2ea5202b8abf 100644
|
| --- a/content/browser/compositor/gpu_process_transport_factory.cc
|
| +++ b/content/browser/compositor/gpu_process_transport_factory.cc
|
| @@ -47,6 +47,7 @@
|
| #include "ui/compositor/compositor.h"
|
| #include "ui/compositor/compositor_constants.h"
|
| #include "ui/compositor/compositor_switches.h"
|
| +#include "ui/compositor/layer.h"
|
| #include "ui/gfx/geometry/size.h"
|
| #include "ui/gfx/native_widget_types.h"
|
|
|
| @@ -101,6 +102,8 @@ GpuProcessTransportFactory::GpuProcessTransportFactory()
|
| : next_surface_id_namespace_(1u),
|
| task_graph_runner_(new cc::TaskGraphRunner),
|
| callback_factory_(this) {
|
| + ui::Layer::InitializeUILayerSettings();
|
| +
|
| if (UseSurfacesEnabled())
|
| surface_manager_ = make_scoped_ptr(new cc::SurfaceManager);
|
|
|
|
|