| Index: content/browser/renderer_host/render_widget_host_view_aura.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| index 913e63c8f155e91b96a1204ee16cdd70141567d1..be0c39d4f6bf25886fab6e29af4d1a496334c483 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| @@ -1563,6 +1563,7 @@ void RenderWidgetHostViewAura::AcceleratedSurfaceRelease() {
|
| compositor->AddObserver(this);
|
| }
|
| current_surface_ = NULL;
|
| + LOG(INFO) << "Releasing frontbuffer";
|
| UpdateExternalTexture();
|
| }
|
| }
|
| @@ -2469,7 +2470,8 @@ void RenderWidgetHostViewAura::OnLostResources() {
|
|
|
| DCHECK(!shared_surface_handle_.is_null());
|
| ImageTransportFactory* factory = ImageTransportFactory::GetInstance();
|
| - factory->DestroySharedSurfaceHandle(shared_surface_handle_);
|
| + factory->DestroySharedSurfaceHandle(shared_surface_handle_,
|
| + host_->surface_id());
|
| shared_surface_handle_ = factory->CreateSharedSurfaceHandle();
|
| host_->CompositingSurfaceUpdated();
|
| host_->ScheduleComposite();
|
| @@ -2483,7 +2485,8 @@ RenderWidgetHostViewAura::~RenderWidgetHostViewAura() {
|
| paint_observer_->OnViewDestroyed();
|
| if (!shared_surface_handle_.is_null()) {
|
| ImageTransportFactory* factory = ImageTransportFactory::GetInstance();
|
| - factory->DestroySharedSurfaceHandle(shared_surface_handle_);
|
| + factory->DestroySharedSurfaceHandle(shared_surface_handle_,
|
| + host_->surface_id());
|
| factory->RemoveObserver(this);
|
| }
|
| window_observer_.reset();
|
|
|