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

Unified Diff: third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h

Issue 2614883006: Change PartitionAlloc to Chromium naming style. (Closed)
Patch Set: Rebase and fix some names. Created 3 years, 11 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/wtf/allocator/PartitionAllocator.h
diff --git a/third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h b/third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h
index 266cbaba96b0c917576f4f63b35429d150cc1825..1408aa16499e695bf02771ec0cb159fca97d9e4f 100644
--- a/third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h
+++ b/third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h
@@ -30,7 +30,7 @@ class WTF_EXPORT PartitionAllocator {
template <typename T>
static size_t quantizedSize(size_t count) {
RELEASE_ASSERT(count <= base::kGenericMaxDirectMapped / sizeof(T));
- return partitionAllocActualSize(WTF::Partitions::bufferPartition(),
+ return PartitionAllocActualSize(WTF::Partitions::bufferPartition(),
count * sizeof(T));
}
template <typename T>
« no previous file with comments | « third_party/WebKit/Source/web/WebMemoryStatistics.cpp ('k') | third_party/WebKit/Source/wtf/allocator/Partitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698