| Index: components/exo/surface.cc
|
| diff --git a/components/exo/surface.cc b/components/exo/surface.cc
|
| index f4851060c1f1466befacc854585b927ac2890368..de28c1af09c181e9a26ff9e512db7d6d991268f3 100644
|
| --- a/components/exo/surface.cc
|
| +++ b/components/exo/surface.cc
|
| @@ -210,8 +210,8 @@ Surface::Surface()
|
| window_->SetEventTargeter(base::WrapUnique(new CustomWindowTargeter));
|
| window_->set_owned_by_parent(false);
|
| factory_owner_->surface_ = this;
|
| - factory_owner_->id_allocator_ =
|
| - aura::Env::GetInstance()->context_factory()->CreateSurfaceIdAllocator();
|
| + factory_owner_->id_allocator_.reset(new cc::SurfaceIdAllocator(
|
| + aura::Env::GetInstance()->context_factory()->AllocateSurfaceClientId()));
|
| factory_owner_->surface_factory_.reset(
|
| new cc::SurfaceFactory(surface_manager_, factory_owner_.get()));
|
| aura::Env::GetInstance()->context_factory()->AddObserver(this);
|
|
|