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

Unified Diff: third_party/WebKit/Source/platform/wtf/allocator/Partitions.h

Issue 2957933002: Fix another FastMalloc call site with potential integer overflow. (Closed)
Patch Set: Created 3 years, 6 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: third_party/WebKit/Source/platform/wtf/allocator/Partitions.h
diff --git a/third_party/WebKit/Source/platform/wtf/allocator/Partitions.h b/third_party/WebKit/Source/platform/wtf/allocator/Partitions.h
index 2b17085ca6920c5b13560c13b23add48b3f9597a..2131a5fc90e33a27af54bbdc7d09e492ce5b30f3 100644
--- a/third_party/WebKit/Source/platform/wtf/allocator/Partitions.h
+++ b/third_party/WebKit/Source/platform/wtf/allocator/Partitions.h
@@ -171,6 +171,8 @@ using base::PartitionMemoryStats;
using base::PartitionBucketMemoryStats;
using base::PartitionAllocHooks;
+using CheckedSizeT = base::CheckedNumeric<size_t>;
+
} // namespace WTF
#endif // Partitions_h

Powered by Google App Engine
This is Rietveld 408576698