Chromium Code Reviews| Index: ui/display/types/display_mode.h |
| diff --git a/ui/display/types/display_mode.h b/ui/display/types/display_mode.h |
| index 0b972d5f497a8288007c0d154c74ca982964f31f..ef849dddbbcaddad4abc06d29a0bafa34e97a678 100644 |
| --- a/ui/display/types/display_mode.h |
| +++ b/ui/display/types/display_mode.h |
| @@ -21,6 +21,8 @@ class DISPLAY_TYPES_EXPORT DisplayMode { |
| public: |
| DisplayMode(const gfx::Size& size, bool interlaced, float refresh_rate); |
| virtual ~DisplayMode(); |
| + bool operator==(const DisplayMode& other) const; |
|
rjkroege
2017/02/17 03:03:51
Why do you need this? I'd prefer that it would be
thanhph1
2017/02/21 16:52:17
I removed this and added back a helper function in
|
| + bool operator!=(const DisplayMode& other) const; |
| virtual std::unique_ptr<DisplayMode> Clone() const; |
| const gfx::Size& size() const { return size_; } |