| Index: cc/surfaces/surface_manager.h
|
| diff --git a/cc/surfaces/surface_manager.h b/cc/surfaces/surface_manager.h
|
| index d5c9ed0f5956c393a7f2478da886f8d6151cf076..6261fb363c3953701547d6bde52267c439c9800c 100644
|
| --- a/cc/surfaces/surface_manager.h
|
| +++ b/cc/surfaces/surface_manager.h
|
| @@ -33,12 +33,12 @@ class CC_SURFACES_EXPORT SurfaceManager {
|
| ~SurfaceManager();
|
|
|
| void RegisterSurface(Surface* surface);
|
| - void DeregisterSurface(SurfaceId surface_id);
|
| + void DeregisterSurface(const SurfaceId& surface_id);
|
|
|
| // Destroy the Surface once a set of sequence numbers has been satisfied.
|
| void Destroy(std::unique_ptr<Surface> surface);
|
|
|
| - Surface* GetSurfaceForId(SurfaceId surface_id);
|
| + Surface* GetSurfaceForId(const SurfaceId& surface_id);
|
|
|
| void AddObserver(SurfaceDamageObserver* obs) {
|
| observer_list_.AddObserver(obs);
|
| @@ -48,7 +48,7 @@ class CC_SURFACES_EXPORT SurfaceManager {
|
| observer_list_.RemoveObserver(obs);
|
| }
|
|
|
| - bool SurfaceModified(SurfaceId surface_id);
|
| + bool SurfaceModified(const SurfaceId& surface_id);
|
|
|
| // A frame for a surface satisfies a set of sequence numbers in a particular
|
| // id namespace.
|
|
|