| Index: cc/surfaces/surface_manager.cc | 
| diff --git a/cc/surfaces/surface_manager.cc b/cc/surfaces/surface_manager.cc | 
| index 3bf0a7a05bdc3b8a218fdcc19feb70e6e8c141af..cbdb78c5ea4a061887bcfc14fb2f627904fafd3f 100644 | 
| --- a/cc/surfaces/surface_manager.cc | 
| +++ b/cc/surfaces/surface_manager.cc | 
| @@ -76,19 +76,19 @@ | 
|  | 
| std::unique_ptr<Surface> SurfaceManager::CreateSurface( | 
| base::WeakPtr<CompositorFrameSinkSupport> compositor_frame_sink_support, | 
| -    const SurfaceInfo& surface_info) { | 
| -  DCHECK(thread_checker_.CalledOnValidThread()); | 
| -  DCHECK(surface_info.is_valid()); | 
| -  DCHECK(compositor_frame_sink_support); | 
| -  DCHECK_EQ(surface_info.id().frame_sink_id(), | 
| -            compositor_frame_sink_support->frame_sink_id()); | 
| +    const LocalSurfaceId& local_surface_id) { | 
| +  DCHECK(thread_checker_.CalledOnValidThread()); | 
| +  DCHECK(local_surface_id.is_valid() && compositor_frame_sink_support); | 
| + | 
| +  SurfaceId surface_id(compositor_frame_sink_support->frame_sink_id(), | 
| +                       local_surface_id); | 
|  | 
| // If no surface with this SurfaceId exists, simply create the surface and | 
| // return. | 
| -  auto surface_iter = surface_map_.find(surface_info.id()); | 
| +  auto surface_iter = surface_map_.find(surface_id); | 
| if (surface_iter == surface_map_.end()) { | 
| auto surface = | 
| -        base::MakeUnique<Surface>(surface_info, compositor_frame_sink_support); | 
| +        base::MakeUnique<Surface>(surface_id, compositor_frame_sink_support); | 
| surface_map_[surface->surface_id()] = surface.get(); | 
| return surface; | 
| } | 
| @@ -103,8 +103,8 @@ | 
| // the queue and reuse it. | 
| auto it = | 
| std::find_if(surfaces_to_destroy_.begin(), surfaces_to_destroy_.end(), | 
| -                   [&surface_info](const std::unique_ptr<Surface>& surface) { | 
| -                     return surface->surface_id() == surface_info.id(); | 
| +                   [&surface_id](const std::unique_ptr<Surface>& surface) { | 
| +                     return surface->surface_id() == surface_id; | 
| }); | 
| DCHECK(it != surfaces_to_destroy_.end()); | 
| std::unique_ptr<Surface> surface = std::move(*it); | 
|  |