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

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
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());
}
{

Powered by Google App Engine
This is Rietveld 408576698