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

Unified Diff: components/offline_pages/offline_page_model_impl.cc

Issue 2260443003: [Offline Pages] Clean up some constant value types for proposed_offline_id arg. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 4 years, 4 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
Index: components/offline_pages/offline_page_model_impl.cc
diff --git a/components/offline_pages/offline_page_model_impl.cc b/components/offline_pages/offline_page_model_impl.cc
index 806d4f0c7f803b5948766ff896c99496a2a843de..25f2e08a68de91249597a5a83ee048cdcde3bb42 100644
--- a/components/offline_pages/offline_page_model_impl.cc
+++ b/components/offline_pages/offline_page_model_impl.cc
@@ -296,7 +296,7 @@ void OfflinePageModelImpl::SavePage(
}
// If we already have an offline id, use it. If not, generate one.
- if (proposed_offline_id == 0ul)
+ if (proposed_offline_id == 0l)
proposed_offline_id = GenerateOfflineId();
archiver->CreateArchive(

Powered by Google App Engine
This is Rietveld 408576698