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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/wtf/WTFThreadData.h ('k') | third_party/WebKit/Source/wtf/allocator/Partitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7e2bc45185e657b4e7c10eb0027953b36a07b3a9..b81db398121937f3af3e18a829b543df376a0aa8 100644
--- a/third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h
+++ b/third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h
@@ -9,12 +9,12 @@
// traced, garbage collected heap. It uses FastMalloc for collections,
// but uses the partition allocator for the backing store of the collections.
+#include <string.h>
#include "base/allocator/partition_allocator/partition_alloc.h"
#include "third_party/WebKit/Source/wtf/Allocator.h"
#include "wtf/Assertions.h"
#include "wtf/TypeTraits.h"
#include "wtf/WTFExport.h"
-#include <string.h>
namespace WTF {
@@ -27,7 +27,7 @@ class WTF_EXPORT PartitionAllocator {
typedef PartitionAllocatorDummyVisitor Visitor;
static const bool isGarbageCollected = false;
- template<typename T>
+ template <typename T>
static size_t maxElementCountInBackingStore() {
return base::kGenericMaxDirectMapped / sizeof(T);
}
« no previous file with comments | « third_party/WebKit/Source/wtf/WTFThreadData.h ('k') | third_party/WebKit/Source/wtf/allocator/Partitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698