Index: ios/chrome/today_extension/today_view_controller.mm |
diff --git a/ios/chrome/today_extension/today_view_controller.mm b/ios/chrome/today_extension/today_view_controller.mm |
index 4ea110924ef348cd7e16bb4012429a777308789c..be1ea208b48791559536fe383c1f270c90954a4c 100644 |
--- a/ios/chrome/today_extension/today_view_controller.mm |
+++ b/ios/chrome/today_extension/today_view_controller.mm |
@@ -917,7 +917,8 @@ NSString* const kPhysicalWebOptedInPreference = @"PhysicalWebOptedIn"; |
state |= PHYSICAL_WEB_OPTED_IN_UNDECIDED_FLAG; |
} |
DCHECK(state < PHYSICAL_WEB_INITIAL_STATE_COUNT); |
- UMA_HISTOGRAM_ENUMERATION("PhysicalWeb.InitialState", state, |
+ UMA_HISTOGRAM_ENUMERATION("PhysicalWeb.InitialState", |
+ static_cast<PhysicalWebInitialState>(state), |
PHYSICAL_WEB_INITIAL_STATE_COUNT); |
} |