Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: chrome/browser/metrics/metrics_log.cc

Issue 5685007: Rename all methods accessing Singleton<T> as GetInstance(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/gpu_process_host_ui_shim.cc ('k') | chrome/browser/net/metadata_url_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/metrics_log.cc
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc
index e21f07532c53708dd13e4cc4ab84fd329f1662be..d0a1f0168f392d8e33c734f8a0d459f121d1608a 100644
--- a/chrome/browser/metrics/metrics_log.cc
+++ b/chrome/browser/metrics/metrics_log.cc
@@ -300,10 +300,12 @@ void MetricsLog::RecordEnvironment(
{
OPEN_ELEMENT_FOR_SCOPE("gpu");
- WriteIntAttribute("vendorid",
- GpuProcessHostUIShim::Get()->gpu_info().vendor_id());
- WriteIntAttribute("deviceid",
- GpuProcessHostUIShim::Get()->gpu_info().device_id());
+ WriteIntAttribute(
+ "vendorid",
+ GpuProcessHostUIShim::GetInstance()->gpu_info().vendor_id());
+ WriteIntAttribute(
+ "deviceid",
+ GpuProcessHostUIShim::GetInstance()->gpu_info().device_id());
}
{
« no previous file with comments | « chrome/browser/gpu_process_host_ui_shim.cc ('k') | chrome/browser/net/metadata_url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698