Index: chrome/browser/memory_details_mac.cc |
diff --git a/chrome/browser/memory_details_mac.cc b/chrome/browser/memory_details_mac.cc |
index d87eea20b86473564a7ee5d069daa0902b5223f0..89ae9c1cfb9b3fe3b777cff52f486be5d235756c 100644 |
--- a/chrome/browser/memory_details_mac.cc |
+++ b/chrome/browser/memory_details_mac.cc |
@@ -18,9 +18,9 @@ |
#include "base/threading/thread.h" |
#include "chrome/browser/process_info_snapshot.h" |
#include "chrome/common/chrome_constants.h" |
-#include "chrome/common/chrome_version_info.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/grit/chromium_strings.h" |
+#include "components/version_info/version_info.h" |
#include "content/public/browser/browser_child_process_host.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/common/process_type.h" |
@@ -63,9 +63,8 @@ void CollectProcessDataForChromeProcess( |
else |
info.process_type = content::PROCESS_TYPE_UNKNOWN; |
- chrome::VersionInfo version_info; |
- info.product_name = base::ASCIIToUTF16(version_info.Name()); |
- info.version = base::ASCIIToUTF16(version_info.Version()); |
+ info.product_name = base::ASCIIToUTF16(version_info::GetProductName()); |
+ info.version = base::ASCIIToUTF16(version_info::GetVersionNumber()); |
// Check if this is one of the child processes whose data was already |
// collected and exists in |child_data|. |