Index: components/guest_view/browser/guest_view_manager.cc |
diff --git a/components/guest_view/browser/guest_view_manager.cc b/components/guest_view/browser/guest_view_manager.cc |
index c93f95307f3a629dbbcd407038a43c0a205626e8..4c86e9d17439fad976ee75dc623b66492bfc72bc 100644 |
--- a/components/guest_view/browser/guest_view_manager.cc |
+++ b/components/guest_view/browser/guest_view_manager.cc |
@@ -3,8 +3,6 @@ |
// found in the LICENSE file. |
#include "components/guest_view/browser/guest_view_manager.h" |
- |
-#include <tuple> |
#include "base/macros.h" |
#include "base/strings/stringprintf.h" |
@@ -478,8 +476,10 @@ |
bool GuestViewManager::ElementInstanceKey::operator<( |
const GuestViewManager::ElementInstanceKey& other) const { |
- return std::tie(embedder_process_id, element_instance_id) < |
- std::tie(other.embedder_process_id, other.element_instance_id); |
+ if (embedder_process_id != other.embedder_process_id) |
+ return embedder_process_id < other.embedder_process_id; |
+ |
+ return element_instance_id < other.element_instance_id; |
} |
bool GuestViewManager::ElementInstanceKey::operator==( |