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

Unified Diff: third_party/WebKit/Source/platform/heap/CallbackStack.cpp

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/platform/heap/CallbackStack.cpp
diff --git a/third_party/WebKit/Source/platform/heap/CallbackStack.cpp b/third_party/WebKit/Source/platform/heap/CallbackStack.cpp
index b9742b22d4406095318b636edafebc345221f924..93a1232a294a548fb7c9dcbb3252a3908dad6394 100644
--- a/third_party/WebKit/Source/platform/heap/CallbackStack.cpp
+++ b/third_party/WebKit/Source/platform/heap/CallbackStack.cpp
@@ -20,13 +20,13 @@ void CallbackStackMemoryPool::initialize() {
}
m_freeListNext[kPooledBlockCount - 1] = -1;
m_pooledMemory = static_cast<CallbackStack::Item*>(
- WTF::allocPages(nullptr, kBlockBytes * kPooledBlockCount,
+ WTF::AllocPages(nullptr, kBlockBytes * kPooledBlockCount,
WTF::kPageAllocationGranularity, WTF::PageAccessible));
CHECK(m_pooledMemory);
}
void CallbackStackMemoryPool::shutdown() {
- WTF::freePages(m_pooledMemory, kBlockBytes * kPooledBlockCount);
+ WTF::FreePages(m_pooledMemory, kBlockBytes * kPooledBlockCount);
m_pooledMemory = nullptr;
m_freeListFirst = 0;
}

Powered by Google App Engine
This is Rietveld 408576698