| Index: cc/surfaces/surface.h
|
| diff --git a/cc/surfaces/surface.h b/cc/surfaces/surface.h
|
| index e91d0bf6ad418fca3371484788ae52fde2687e00..d101f6dffed7b560069567cc26f9a44659b834d1 100644
|
| --- a/cc/surfaces/surface.h
|
| +++ b/cc/surfaces/surface.h
|
| @@ -40,11 +40,11 @@ class CC_SURFACES_EXPORT Surface {
|
| public:
|
| using DrawCallback = SurfaceFactory::DrawCallback;
|
|
|
| - Surface(SurfaceId id, SurfaceFactory* factory);
|
| + Surface(const SurfaceId& id, SurfaceFactory* factory);
|
| ~Surface();
|
|
|
| - SurfaceId surface_id() const { return surface_id_; }
|
| - SurfaceId previous_frame_surface_id() const {
|
| + const SurfaceId& surface_id() const { return surface_id_; }
|
| + const SurfaceId& previous_frame_surface_id() const {
|
| return previous_frame_surface_id_;
|
| }
|
|
|
|
|