Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[jumbo] avoid operator clashes between media_devices.h and page_state.h
CL https://chromium-review.googlesource.com/c/chromium/src/+/1019245 seems to have introduced a jumbo build failure: ./../../content/browser/renderer_host/media/media_devices_manager.cc:704:37: error: reference to overloaded function could not be resolved; did you mean to call it? ignore_group_id ? operator== : EqualDeviceAndGroupID)) { ^~~~~~~~~~ ../../content/common/media/media_devices.h:52:6: note: possible target for call bool operator==(const MediaDeviceInfo& first, const MediaDeviceInfo& second); ^ ../../content/public/common/page_state.h:63:13: note: possible target for call inline bool operator==(const PageState& a, const PageState& b) { ^ Let's move page_state.h's ==/!= operators out of the global scope, to avoid this. [email protected] Bug: 834281 Change-Id: I27f0493ee2d2957b8318c969edd5615ec4dab687 Reviewed-on: https://chromium-review.googlesource.com/1042308 Commit-Queue: Morten Stenshorne <[email protected]> Reviewed-by: Guido Urdaneta <[email protected]> Cr-Commit-Position: refs/heads/master@{#555767}
- Loading branch information