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

Unified Diff: third_party/WebKit/Source/wtf/SizeLimits.cpp

Issue 1436153002: Apply clang-format with Chromium-style without column limit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/SaturatedArithmeticTest.cpp ('k') | third_party/WebKit/Source/wtf/SpinLock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/SizeLimits.cpp
diff --git a/third_party/WebKit/Source/wtf/SizeLimits.cpp b/third_party/WebKit/Source/wtf/SizeLimits.cpp
index 342152c5ba04d6d13e586897706a3c99e9f71e39..319421eb3286e805a25a55dfde341c32752a8853 100644
--- a/third_party/WebKit/Source/wtf/SizeLimits.cpp
+++ b/third_party/WebKit/Source/wtf/SizeLimits.cpp
@@ -46,36 +46,36 @@ namespace WTF {
#if ENABLE(ASSERT) || ENABLE(SECURITY_ASSERT)
// The debug/assertion version may get bigger.
struct SameSizeAsRefCounted {
- int a;
+ int a;
#if ENABLE(SECURITY_ASSERT)
- bool b;
+ bool b;
#endif
#if ENABLE(ASSERT)
- bool c;
- ThreadRestrictionVerifier d;
+ bool c;
+ ThreadRestrictionVerifier d;
#endif
};
#else
struct SameSizeAsRefCounted {
- int a;
- // Don't add anything here because this should stay small.
+ int a;
+ // Don't add anything here because this should stay small.
};
#endif
-template<typename T, unsigned inlineCapacity = 0>
+template <typename T, unsigned inlineCapacity = 0>
struct SameSizeAsVectorWithInlineCapacity;
-template<typename T>
+template <typename T>
struct SameSizeAsVectorWithInlineCapacity<T, 0> {
- void* bufferPointer;
- unsigned capacity;
- unsigned size;
+ void* bufferPointer;
+ unsigned capacity;
+ unsigned size;
};
-template<typename T, unsigned inlineCapacity>
+template <typename T, unsigned inlineCapacity>
struct SameSizeAsVectorWithInlineCapacity {
- SameSizeAsVectorWithInlineCapacity<T, 0> baseCapacity;
+ SameSizeAsVectorWithInlineCapacity<T, 0> baseCapacity;
#if !defined(ANNOTATE_CONTIGUOUS_CONTAINER)
- AlignedBuffer<inlineCapacity * sizeof(T), WTF_ALIGN_OF(T)> inlineBuffer;
+ AlignedBuffer<inlineCapacity * sizeof(T), WTF_ALIGN_OF(T)> inlineBuffer;
#endif
};
« no previous file with comments | « third_party/WebKit/Source/wtf/SaturatedArithmeticTest.cpp ('k') | third_party/WebKit/Source/wtf/SpinLock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698