Index: third_party/WebKit/Source/devtools/front_end/components/CPUThrottlingManager.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/components/CPUThrottlingManager.js b/third_party/WebKit/Source/devtools/front_end/components/CPUThrottlingManager.js |
index 4ce1d5b0aac31b3d5a23bed17675c544ece06efd..8b5d156e0601d4ca544c83d873c15dae98abfe25 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/components/CPUThrottlingManager.js |
+++ b/third_party/WebKit/Source/devtools/front_end/components/CPUThrottlingManager.js |
@@ -23,6 +23,7 @@ Components.CPUThrottlingManager = class extends Common.Object { |
SDK.targetManager.targets().forEach(target => target.emulationAgent().setCPUThrottlingRate(this._throttlingRate)); |
var icon = null; |
if (this._throttlingRate !== 1) { |
+ Host.userMetrics.actionTaken(Host.UserMetrics.Action.CpuThrottlingEnabled); |
icon = UI.Icon.create('smallicon-warning'); |
icon.title = Common.UIString('CPU throttling is enabled'); |
} |