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

Side by Side 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, 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 using base::SetSystemPagesAccessible; 164 using base::SetSystemPagesAccessible;
165 using base::SetSystemPagesInaccessible; 165 using base::SetSystemPagesInaccessible;
166 166
167 using base::PageAccessible; 167 using base::PageAccessible;
168 using base::PageInaccessible; 168 using base::PageInaccessible;
169 using base::PartitionStatsDumper; 169 using base::PartitionStatsDumper;
170 using base::PartitionMemoryStats; 170 using base::PartitionMemoryStats;
171 using base::PartitionBucketMemoryStats; 171 using base::PartitionBucketMemoryStats;
172 using base::PartitionAllocHooks; 172 using base::PartitionAllocHooks;
173 173
174 using CheckedSizeT = base::CheckedNumeric<size_t>;
175
174 } // namespace WTF 176 } // namespace WTF
175 177
176 #endif // Partitions_h 178 #endif // Partitions_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698