diff --git a/shell/common/api/electron_api_v8_util.cc b/shell/common/api/electron_api_v8_util.cc index 45b31bb3f9b..7291024b252 100644 --- a/shell/common/api/electron_api_v8_util.cc +++ b/shell/common/api/electron_api_v8_util.cc @@ -5,7 +5,6 @@ #include #include -#include "base/hash/hash.h" #include "base/run_loop.h" #include "electron/buildflags/buildflags.h" #include "shell/common/api/electron_api_key_weak_map.h" @@ -17,18 +16,6 @@ #include "url/origin.h" #include "v8/include/v8-profiler.h" -namespace std { - -// The hash function used by DoubleIDWeakMap. -template -struct hash> { - std::size_t operator()(std::pair value) const { - return base::HashInts(base::Hash(value.first), value.second); - } -}; - -} // namespace std - namespace gin { template