Chromium Code Reviews| Index: ui/surface/transport_dib.h |
| diff --git a/ui/surface/transport_dib.h b/ui/surface/transport_dib.h |
| index 6397c97420a674572557e7a035ee692c9f678f64..3cb3dd03963d2a8cb5f1d5344575263273da4230 100644 |
| --- a/ui/surface/transport_dib.h |
| +++ b/ui/surface/transport_dib.h |
| @@ -106,6 +106,10 @@ class SURFACE_EXPORT TransportDIB { |
| return shmkey < other.shmkey; |
| } |
| + bool operator==(const Id& other) const { |
| + return shmkey == other.shmkey; |
| + } |
| + |
| int shmkey; |
| }; |