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

Unified Diff: third_party/WebKit/Source/wtf/PageAllocator.h

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/OwnPtrCommon.h ('k') | third_party/WebKit/Source/wtf/PageAllocator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/PageAllocator.h
diff --git a/third_party/WebKit/Source/wtf/PageAllocator.h b/third_party/WebKit/Source/wtf/PageAllocator.h
index 8db9fe30d96e99391bf95a6bcde234d1b326a194..6a998be87313867ddd734c0bf8f49922e3be5c3c 100644
--- a/third_party/WebKit/Source/wtf/PageAllocator.h
+++ b/third_party/WebKit/Source/wtf/PageAllocator.h
@@ -40,9 +40,9 @@
namespace WTF {
#if OS(WIN)
-static const size_t kPageAllocationGranularityShift = 16; // 64KB
+static const size_t kPageAllocationGranularityShift = 16; // 64KB
#else
-static const size_t kPageAllocationGranularityShift = 12; // 4KB
+static const size_t kPageAllocationGranularityShift = 12; // 4KB
#endif
static const size_t kPageAllocationGranularity = 1 << kPageAllocationGranularityShift;
static const size_t kPageAllocationGranularityOffsetMask = kPageAllocationGranularity - 1;
@@ -55,8 +55,8 @@ static const size_t kSystemPageOffsetMask = kSystemPageSize - 1;
static const size_t kSystemPageBaseMask = ~kSystemPageOffsetMask;
enum PageAccessibilityConfiguration {
- PageAccessible,
- PageInaccessible,
+ PageAccessible,
+ PageInaccessible,
};
// Allocate one or more pages.
@@ -126,6 +126,6 @@ WTF_EXPORT void recommitSystemPages(void* addr, size_t len);
// len must be a multiple of kSystemPageSize bytes.
WTF_EXPORT void discardSystemPages(void* addr, size_t len);
-} // namespace WTF
+} // namespace WTF
-#endif // WTF_PageAllocator_h
+#endif // WTF_PageAllocator_h
« no previous file with comments | « third_party/WebKit/Source/wtf/OwnPtrCommon.h ('k') | third_party/WebKit/Source/wtf/PageAllocator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698