Index: ash/metrics/user_metrics_recorder.cc |
diff --git a/ash/metrics/user_metrics_recorder.cc b/ash/metrics/user_metrics_recorder.cc |
index a28b656b04e519a80ca18e49b0ffbeefb579d6c1..26edfadf77f6defe5feb2e631f5bc53993fc3851 100644 |
--- a/ash/metrics/user_metrics_recorder.cc |
+++ b/ash/metrics/user_metrics_recorder.cc |
@@ -626,7 +626,7 @@ void UserMetricsRecorder::OnShellShuttingDown() { |
} |
void UserMetricsRecorder::RecordPeriodicMetrics() { |
- WmShelf* shelf = WmShelf::ForWindow(ShellPort::Get()->GetPrimaryRootWindow()); |
+ WmShelf* shelf = WmShelf::ForWindow(Shell::GetPrimaryRootWindow()); |
// TODO(bruthig): Investigating whether the check for |manager| is necessary |
// and add tests if it is. |
if (shelf) { |