Index: base/android/library_loader/library_loader_hooks.cc |
diff --git a/base/android/library_loader/library_loader_hooks.cc b/base/android/library_loader/library_loader_hooks.cc |
index 1fe8048a162808a7863574cfd4fc14a687f6c07f..e02c66b2aad3be86bbd34822466b4e31e7fb17a2 100644 |
--- a/base/android/library_loader/library_loader_hooks.cc |
+++ b/base/android/library_loader/library_loader_hooks.cc |
@@ -124,9 +124,10 @@ static void RecordChromiumAndroidLinkerBrowserHistogram( |
MAX_BROWSER_HISTOGRAM_CODE); |
// Record the device support for loading a library directly from the APK file. |
- UMA_HISTOGRAM_ENUMERATION("ChromiumAndroidLinker.LibraryLoadFromApkStatus", |
- library_load_from_apk_status, |
- LIBRARY_LOAD_FROM_APK_STATUS_CODES_MAX); |
+ UMA_HISTOGRAM_ENUMERATION( |
+ "ChromiumAndroidLinker.LibraryLoadFromApkStatus", |
+ static_cast<LibraryLoadFromApkStatusCodes>(library_load_from_apk_status), |
+ LIBRARY_LOAD_FROM_APK_STATUS_CODES_MAX); |
// Record how long it took to load the shared libraries. |
UMA_HISTOGRAM_TIMES("ChromiumAndroidLinker.BrowserLoadTime", |