| Index: cc/surfaces/surface_factory.h
|
| diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h
|
| index c869029cbaabe66cefb25c4934a5368bc9c7980c..d73817abb586ba1849091ff9c302597009f536f8 100644
|
| --- a/cc/surfaces/surface_factory.h
|
| +++ b/cc/surfaces/surface_factory.h
|
| @@ -83,6 +83,8 @@ class CC_SURFACES_EXPORT SurfaceFactory
|
| bool needs_sync_points() const { return needs_sync_points_; }
|
| void set_needs_sync_points(bool needs) { needs_sync_points_ = needs; }
|
|
|
| + void onSurfaceManagerDestroyed() { manager_ = nullptr; }
|
| +
|
| private:
|
| SurfaceManager* manager_;
|
| SurfaceFactoryClient* client_;
|
|
|