Index: components/metrics/call_stack_profile_metrics_provider.cc |
diff --git a/components/metrics/call_stack_profile_metrics_provider.cc b/components/metrics/call_stack_profile_metrics_provider.cc |
index 15840e9622919e8a454740d5942c0eb3535e8912..56c0973edf7e149bfe7d36ba45050107fd46f540 100644 |
--- a/components/metrics/call_stack_profile_metrics_provider.cc |
+++ b/components/metrics/call_stack_profile_metrics_provider.cc |
@@ -16,12 +16,12 @@ |
#include "base/macros.h" |
#include "base/memory/singleton.h" |
#include "base/metrics/field_trial.h" |
+#include "base/metrics/metrics_hashes.h" |
#include "base/profiler/stack_sampling_profiler.h" |
#include "base/single_thread_task_runner.h" |
#include "base/synchronization/lock.h" |
#include "base/thread_task_runner_handle.h" |
#include "base/time/time.h" |
-#include "components/metrics/metrics_hashes.h" |
#include "components/metrics/proto/chrome_user_metrics_extension.pb.h" |
using base::StackSamplingProfiler; |
@@ -208,7 +208,7 @@ uint64 HashModuleFilename(const base::FilePath& filename) { |
basename.size() * sizeof(base::FilePath::CharType); |
std::string name_bytes(basename_length_in_bytes, '\0'); |
memcpy(&name_bytes[0], &basename[0], basename_length_in_bytes); |
- return HashMetricName(name_bytes); |
+ return base::HashMetricName(name_bytes); |
} |
// Transcode |sample| into |proto_sample|, using base addresses in |modules| to |