blob: 3f3ca652f5eedd9dca866874e9fdea80345b7187 [file] [log] [blame]
Daniel Libbyadeca892020-06-05 20:03:401// 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
7namespace content {
8
9bool DisplayFeature::operator==(const DisplayFeature& other) const {
10 return orientation == other.orientation && offset == other.offset &&
11 mask_length == other.mask_length;
12}
13
14bool DisplayFeature::operator!=(const DisplayFeature& other) const {
15 return !(*this == other);
16}
17
18} // namespace content