Daniel Libby | adeca89 | 2020-06-05 20:03:40 | [diff] [blame^] | 1 | // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "content/browser/renderer_host/display_feature.h" |
| 6 | |
| 7 | namespace content { |
| 8 | |
| 9 | bool DisplayFeature::operator==(const DisplayFeature& other) const { |
| 10 | return orientation == other.orientation && offset == other.offset && |
| 11 | mask_length == other.mask_length; |
| 12 | } |
| 13 | |
| 14 | bool DisplayFeature::operator!=(const DisplayFeature& other) const { |
| 15 | return !(*this == other); |
| 16 | } |
| 17 | |
| 18 | } // namespace content |