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 56528cada54e2c24d39f6fbc482aae2b5d2b4953..66450e0b92c5a0ba67614d068d8b1fe1bf5e8c21 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 |
@@ -165,8 +165,10 @@ enum PhysicalWebInitialStateIosChrome { |
} |
DCHECK(state < PHYSICAL_WEB_INITIAL_STATE_COUNT); |
- UMA_HISTOGRAM_ENUMERATION("PhysicalWeb.InitialState.IosChrome", state, |
- PHYSICAL_WEB_INITIAL_STATE_COUNT); |
+ UMA_HISTOGRAM_ENUMERATION( |
+ "PhysicalWeb.InitialState.IosChrome", |
+ static_cast<PhysicalWebInitialStateIosChrome>(state), |
+ PHYSICAL_WEB_INITIAL_STATE_COUNT); |
} |
@end |