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

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

Issue 847803002: Make ScriptStreamer and dependents Oilpan friendly. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nullptr tidying Created 5 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: Source/platform/heap/Heap.h
diff --git a/Source/platform/heap/Heap.h b/Source/platform/heap/Heap.h
index 2c0ef8038596942ac27a3e792f0a3126c6b71708..a154ba094efba735e7831b4e6db0e54d01bb3f32 100644
--- a/Source/platform/heap/Heap.h
+++ b/Source/platform/heap/Heap.h
@@ -1663,6 +1663,12 @@ public:
}
template<typename U>
+ void append(const U* data, size_t dataSize)
+ {
+ Vector<T, inlineCapacity, HeapAllocator>::append(data, dataSize);
+ }
+
+ template<typename U>
void append(const U& other)
{
Vector<T, inlineCapacity, HeapAllocator>::append(other);

Powered by Google App Engine
This is Rietveld 408576698