Index: third_party/WebKit/Source/platform/heap/HeapTerminatedArray.h |
diff --git a/third_party/WebKit/Source/platform/heap/HeapTerminatedArray.h b/third_party/WebKit/Source/platform/heap/HeapTerminatedArray.h |
index e87ba2cb6839522877a12490258aa3eed2198f2a..dcf8383c5ce47b62a46a27249970b00df84f426e 100644 |
--- a/third_party/WebKit/Source/platform/heap/HeapTerminatedArray.h |
+++ b/third_party/WebKit/Source/platform/heap/HeapTerminatedArray.h |
@@ -30,7 +30,12 @@ private: |
struct Allocator final { |
STATIC_ONLY(Allocator); |
typedef HeapTerminatedArray* PassPtr; |
- typedef RawPtr<HeapTerminatedArray> Ptr; |
+ typedef HeapTerminatedArray* Ptr; |
+ |
+ static PassPtr release(Ptr ptr) |
+ { |
+ return ptr; |
+ } |
static PassPtr create(size_t capacity) |
{ |