| Index: cc/surfaces/surface.h
|
| diff --git a/cc/surfaces/surface.h b/cc/surfaces/surface.h
|
| index f35740ab3f0ea3ae2b1141129ca50c74b8136075..d44a6d4c431d151c6ff67c0693b1eb8c88fb86c6 100644
|
| --- a/cc/surfaces/surface.h
|
| +++ b/cc/surfaces/surface.h
|
| @@ -87,6 +87,9 @@ class CC_SURFACES_EXPORT Surface {
|
| void RunDrawCallbacks();
|
|
|
| base::WeakPtr<SurfaceFactory> factory() { return factory_; }
|
| + void set_factory(base::WeakPtr<SurfaceFactory> factory) {
|
| + factory_ = factory;
|
| + }
|
|
|
| // Add a SurfaceSequence that must be satisfied before the Surface is
|
| // destroyed.
|
|
|