| Index: content/public/browser/desktop_media_id.cc
|
| diff --git a/content/public/browser/desktop_media_id.cc b/content/public/browser/desktop_media_id.cc
|
| index 8e74dcc866c3f4ed41addea3fa3b27848a3e2782..01a7f0b6b6c43b985f189572a88d51c121836ff9 100644
|
| --- a/content/public/browser/desktop_media_id.cc
|
| +++ b/content/public/browser/desktop_media_id.cc
|
| @@ -98,21 +98,25 @@ aura::Window* DesktopMediaID::GetAuraWindowById(const DesktopMediaID& id) {
|
|
|
| bool DesktopMediaID::operator<(const DesktopMediaID& other) const {
|
| #if defined(USE_AURA)
|
| - return std::tie(type, id, aura_id, web_contents_id) <
|
| - std::tie(other.type, other.id, other.aura_id, other.web_contents_id);
|
| + return std::tie(type, id, aura_id, web_contents_id, audio_share) <
|
| + std::tie(other.type, other.id, other.aura_id, other.web_contents_id,
|
| + other.audio_share);
|
| #else
|
| - return std::tie(type, id, web_contents_id) <
|
| - std::tie(other.type, other.id, other.web_contents_id);
|
| + return std::tie(type, id, web_contents_id, audio_share) <
|
| + std::tie(other.type, other.id, other.web_contents_id,
|
| + other.audio_share);
|
| #endif
|
| }
|
|
|
| bool DesktopMediaID::operator==(const DesktopMediaID& other) const {
|
| #if defined(USE_AURA)
|
| return type == other.type && id == other.id && aura_id == other.aura_id &&
|
| - web_contents_id == other.web_contents_id;
|
| + web_contents_id == other.web_contents_id &&
|
| + audio_share == other.audio_share;
|
| #else
|
| return type == other.type && id == other.id &&
|
| - web_contents_id == other.web_contents_id;
|
| + web_contents_id == other.web_contents_id &&
|
| + audio_share == other.audio_share;
|
| #endif
|
| }
|
|
|
|
|