Index: content/child/blob_storage/blob_consolidation.cc |
diff --git a/content/child/blob_storage/blob_consolidation.cc b/content/child/blob_storage/blob_consolidation.cc |
index 4985059ef5805f68b44cc68bfce3ba9b78a46819..a2b0925d5d1aa44718d5e6f11023dc63968ff033 100644 |
--- a/content/child/blob_storage/blob_consolidation.cc |
+++ b/content/child/blob_storage/blob_consolidation.cc |
@@ -4,7 +4,10 @@ |
#include "content/child/blob_storage/blob_consolidation.h" |
+#include <stdint.h> |
+ |
#include <algorithm> |
+#include <limits> |
#include <string> |
using storage::DataElement; |
@@ -17,9 +20,8 @@ using ReadStatus = BlobConsolidation::ReadStatus; |
BlobConsolidation::ConsolidatedItem::ConsolidatedItem() |
: type(DataElement::TYPE_UNKNOWN), |
offset(0), |
- length(kuint64max), |
- expected_modification_time(0) { |
-} |
+ length(std::numeric_limits<uint64_t>::max()), |
+ expected_modification_time(0) {} |
BlobConsolidation::ConsolidatedItem::~ConsolidatedItem() { |
} |