| Index: cc/surfaces/surface_factory.cc
|
| diff --git a/cc/surfaces/surface_factory.cc b/cc/surfaces/surface_factory.cc
|
| index c475793ed6fb9ed32be15b09856bf3c972f20e3c..880cb8c828a675fe85cd426bfb9caa05355e6cbc 100644
|
| --- a/cc/surfaces/surface_factory.cc
|
| +++ b/cc/surfaces/surface_factory.cc
|
| @@ -41,14 +41,6 @@ void SurfaceFactory::EvictSurface() {
|
| Destroy(std::move(current_surface_));
|
| }
|
|
|
| -void SurfaceFactory::Reset() {
|
| - EvictSurface();
|
| - // Disown Surfaces that are still alive so that they don't try to unref
|
| - // resources that we're not tracking any more.
|
| - weak_factory_.InvalidateWeakPtrs();
|
| - holder_.Reset();
|
| -}
|
| -
|
| void SurfaceFactory::SubmitCompositorFrame(
|
| const LocalSurfaceId& local_surface_id,
|
| CompositorFrame frame,
|
|
|