Index: chrome/browser/ui/webui/ntp/app_launcher_handler.cc |
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc |
index ba9b0a0007ce55aebc4e4ed859c394cc72bb2b3a..71a1184d083426fdecb775975e75ea6c3746fefb 100644 |
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc |
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc |
@@ -719,7 +719,7 @@ void AppLauncherHandler::HandleRecordAppLaunchByURL( |
CHECK(args->GetDouble(1, &source)); |
extension_misc::AppLaunchBucket bucket = |
- static_cast<extension_misc::AppLaunchBucket>(source); |
+ static_cast<extension_misc::AppLaunchBucket>(static_cast<int>(source)); |
CHECK(source < extension_misc::APP_LAUNCH_BUCKET_BOUNDARY); |
RecordAppLaunchByURL(web_ui_->GetProfile(), url, bucket); |