Index: ios/chrome/browser/physical_web/physical_web_initial_state_recorder.mm |
diff --git a/ios/chrome/browser/physical_web/physical_web_initial_state_recorder.mm b/ios/chrome/browser/physical_web/physical_web_initial_state_recorder.mm |
index a05bbb414f8993d00dd73ac647b03853294b54f3..55891fe0b5eb34f44f4f921f474ee635e11f0e55 100644 |
--- a/ios/chrome/browser/physical_web/physical_web_initial_state_recorder.mm |
+++ b/ios/chrome/browser/physical_web/physical_web_initial_state_recorder.mm |
@@ -163,8 +163,9 @@ enum PhysicalWebInitialStateIosChrome { |
} |
DCHECK(state < PHYSICAL_WEB_INITIAL_STATE_COUNT); |
- UMA_HISTOGRAM_ENUMERATION("PhysicalWeb.InitialState.IosChrome", state, |
- PHYSICAL_WEB_INITIAL_STATE_COUNT); |
+ UMA_HISTOGRAM_EXACT_LINEAR( |
+ "PhysicalWeb.InitialState.IosChrome", state, |
+ static_cast<int>(PHYSICAL_WEB_INITIAL_STATE_COUNT)); |
Alexei Svitkine (slow)
2017/05/31 20:22:24
Can this use PhysicalWebInitialState instead? Sinc
wychen
2017/07/14 23:18:44
Used PhysicalWebInitialStateIosChrome.
|
} |
@end |