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

Unified Diff: third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.cpp

Issue 2518253002: Move Partition Allocator into Chromium base. (Closed)
Patch Set: Move OOM_CRASH into its own, more specific header. Fixes Windows build. Created 4 years 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
« base/allocator/oom.h ('K') | « third_party/WebKit/Source/wtf/text/StringImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.cpp
diff --git a/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.cpp b/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.cpp
index bf5b0b47afa406a4370f679be8a35333a99309dc..b78078e802e739a14a3305d30193508ec85f33bd 100644
--- a/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.cpp
+++ b/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.cpp
@@ -26,8 +26,8 @@
#include "wtf/typed_arrays/ArrayBufferContents.h"
+#include "base/allocator/partition_allocator/partition_alloc.h"
#include "wtf/Assertions.h"
-#include "wtf/allocator/PartitionAlloc.h"
#include "wtf/allocator/Partitions.h"
#include <string.h>
@@ -127,7 +127,7 @@ void ArrayBufferContents::allocateMemory(size_t size,
void ArrayBufferContents::allocateMemoryOrNull(size_t size,
InitializationPolicy policy,
void*& data) {
- allocateMemoryWithFlags(size, policy, PartitionAllocReturnNull, data);
+ allocateMemoryWithFlags(size, policy, base::PartitionAllocReturnNull, data);
}
void ArrayBufferContents::freeMemory(void* data, size_t size) {
« base/allocator/oom.h ('K') | « third_party/WebKit/Source/wtf/text/StringImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698