| Index: content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
|
| diff --git a/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc b/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
|
| index 20515bdcf68353f833d9110638ff4ac5ca3efc37..920eddc1b3387dd7026a9a2de131f055be8b052b 100644
|
| --- a/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
|
| +++ b/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
|
| @@ -26,7 +26,6 @@ OffscreenCanvasCompositorFrameSink::~OffscreenCanvasCompositorFrameSink() {
|
| } else {
|
| manager->InvalidateFrameSinkId(surface_id_.frame_sink_id());
|
| }
|
| - surface_factory_->Destroy(surface_id_.local_frame_id());
|
| }
|
| }
|
|
|
| @@ -46,7 +45,6 @@ void OffscreenCanvasCompositorFrameSink::SubmitCompositorFrame(
|
| cc::SurfaceManager* manager = GetSurfaceManager();
|
| surface_factory_ = base::MakeUnique<cc::SurfaceFactory>(
|
| surface_id_.frame_sink_id(), manager, this);
|
| - surface_factory_->Create(surface_id_.local_frame_id());
|
|
|
| manager->RegisterFrameSinkId(surface_id_.frame_sink_id());
|
| }
|
|
|