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

Unified Diff: third_party/WebKit/Source/platform/heap/HeapPage.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/HeapPage.cpp
diff --git a/third_party/WebKit/Source/platform/heap/HeapPage.cpp b/third_party/WebKit/Source/platform/heap/HeapPage.cpp
index 686365454619cbc1cb638b324e2bc129aef302a3..ad097d4be27d73d0b9296ee650b412f07a4b59b6 100644
--- a/third_party/WebKit/Source/platform/heap/HeapPage.cpp
+++ b/third_party/WebKit/Source/platform/heap/HeapPage.cpp
@@ -1342,11 +1342,11 @@ void NormalPage::removeFromHeap() {
#if !ENABLE(ASSERT) && !defined(LEAK_SANITIZER) && !defined(ADDRESS_SANITIZER)
static void discardPages(Address begin, Address end) {
uintptr_t beginAddress =
- WTF::roundUpToSystemPage(reinterpret_cast<uintptr_t>(begin));
+ WTF::RoundUpToSystemPage(reinterpret_cast<uintptr_t>(begin));
uintptr_t endAddress =
- WTF::roundDownToSystemPage(reinterpret_cast<uintptr_t>(end));
+ WTF::RoundDownToSystemPage(reinterpret_cast<uintptr_t>(end));
if (beginAddress < endAddress)
- WTF::discardSystemPages(reinterpret_cast<void*>(beginAddress),
+ WTF::DiscardSystemPages(reinterpret_cast<void*>(beginAddress),
endAddress - beginAddress);
}
#endif
« no previous file with comments | « third_party/WebKit/Source/platform/heap/CallbackStack.cpp ('k') | third_party/WebKit/Source/platform/heap/PageMemory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698