| Index: content/browser/background_fetch/background_fetch_registration_id.cc
|
| diff --git a/content/browser/background_fetch/background_fetch_registration_id.cc b/content/browser/background_fetch/background_fetch_registration_id.cc
|
| index 18156b0d4ea03193ead71dcfbeca3efedf17b477..db7653bbb1bcc0ca051d49c2c8e78cf9ff0f3ab0 100644
|
| --- a/content/browser/background_fetch/background_fetch_registration_id.cc
|
| +++ b/content/browser/background_fetch/background_fetch_registration_id.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "content/browser/background_fetch/background_fetch_registration_id.h"
|
|
|
| +#include <tuple>
|
| +
|
| #include "content/common/service_worker/service_worker_types.h"
|
|
|
| namespace content {
|
| @@ -44,9 +46,9 @@ bool BackgroundFetchRegistrationId::operator!=(
|
|
|
| bool BackgroundFetchRegistrationId::operator<(
|
| const BackgroundFetchRegistrationId& other) const {
|
| - return service_worker_registration_id_ <
|
| - other.service_worker_registration_id_ ||
|
| - origin_ < other.origin_ || tag_ < other.tag_;
|
| + return std::tie(service_worker_registration_id_, origin_, tag_) <
|
| + std::tie(other.service_worker_registration_id_, other.origin_,
|
| + other.tag_);
|
| }
|
|
|
| bool BackgroundFetchRegistrationId::is_null() const {
|
|
|