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

Unified Diff: third_party/WebKit/Source/platform/heap/Heap.h

Issue 1757703004: Rename BaseHeap to BaseArena part 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 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 | « no previous file | third_party/WebKit/Source/platform/heap/HeapAllocator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/heap/Heap.h
diff --git a/third_party/WebKit/Source/platform/heap/Heap.h b/third_party/WebKit/Source/platform/heap/Heap.h
index 5c156e5c861584f60727c30aafb411c865d5152e..984ab60c5eaecabe614203060f4f0a83c56fc9e7 100644
--- a/third_party/WebKit/Source/platform/heap/Heap.h
+++ b/third_party/WebKit/Source/platform/heap/Heap.h
@@ -489,8 +489,8 @@ inline Address Heap::allocateOnArenaIndex(ThreadState* state, size_t size, int a
{
ASSERT(state->isAllocationAllowed());
ASSERT(arenaIndex != BlinkGC::LargeObjectArenaIndex);
- NormalPageHeap* heap = static_cast<NormalPageHeap*>(state->arena(arenaIndex));
- return heap->allocateObject(allocationSizeFromSize(size), gcInfoIndex);
+ NormalPageArena* arena = static_cast<NormalPageArena*>(state->arena(arenaIndex));
+ return arena->allocateObject(allocationSizeFromSize(size), gcInfoIndex);
}
template<typename T>
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/heap/HeapAllocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698