Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: components/offline_pages/offline_page_storage_manager.cc

Issue 2004993002: add a couple of casts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add another cast. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/offline_pages/offline_page_model.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/offline_page_storage_manager.cc
diff --git a/components/offline_pages/offline_page_storage_manager.cc b/components/offline_pages/offline_page_storage_manager.cc
index 266615b00b6536a1780d997541abcc61ec65c6b9..dcebc5c4ab96fc435d4e7bedb2284c11b4110bcb 100644
--- a/components/offline_pages/offline_page_storage_manager.cc
+++ b/components/offline_pages/offline_page_storage_manager.cc
@@ -66,9 +66,9 @@ void OfflinePageStorageManager::OnGetAllPagesDone(
std::vector<int64_t> offline_ids;
GetExpiredPageIds(pages, stats, offline_ids);
client_->DeletePagesByOfflineId(
- offline_ids,
- base::Bind(&OfflinePageStorageManager::OnExpiredPagesDeleted,
- weak_ptr_factory_.GetWeakPtr(), callback, offline_ids.size()));
+ offline_ids, base::Bind(&OfflinePageStorageManager::OnExpiredPagesDeleted,
+ weak_ptr_factory_.GetWeakPtr(), callback,
+ static_cast<int>(offline_ids.size())));
}
void OfflinePageStorageManager::OnExpiredPagesDeleted(
« no previous file with comments | « components/offline_pages/offline_page_model.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698