Index: content/browser/cache_storage/cache_storage.cc |
diff --git a/content/browser/cache_storage/cache_storage.cc b/content/browser/cache_storage/cache_storage.cc |
index eae623c7785623ee6e0d5b2abd4a3087ff36a9a1..5b65b3b3c3c97a459b78b1978ccbdeecc80c95de 100644 |
--- a/content/browser/cache_storage/cache_storage.cc |
+++ b/content/browser/cache_storage/cache_storage.cc |
@@ -706,7 +706,7 @@ void CacheStorage::CreateCacheDidCreateCache( |
DCHECK_CURRENTLY_ON(BrowserThread::IO); |
UMA_HISTOGRAM_BOOLEAN("ServiceWorkerCache.CreateCacheStorageResult", |
- cache != nullptr); |
+ static_cast<bool>(cache)); |
if (!cache.get()) { |
callback.Run(scoped_refptr<CacheStorageCache>(), |