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

Unified Diff: Source/heap/Heap.h

Issue 180003002: Consistently use on-heap collections for StyleRuleBase descendants. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
Index: Source/heap/Heap.h
diff --git a/Source/heap/Heap.h b/Source/heap/Heap.h
index e970e62b0c80b1f165a749d4ecaab3bb9f18cd1b..3dc2080c0ab5135446c82a0d11e15fa3ebb38ab4 100644
--- a/Source/heap/Heap.h
+++ b/Source/heap/Heap.h
@@ -1304,6 +1304,10 @@ public:
{
}
+ HeapVector(size_t size, const T& val) : Vector<T, inlineCapacity, HeapAllocator>(size, val)
haraken 2014/02/26 02:20:13 We might want to add a test for this.
Vyacheslav Egorov (Chromium) 2014/02/26 13:12:24 Done.
+ {
+ }
+
template<size_t otherCapacity>
HeapVector(const HeapVector<T, otherCapacity>& other)
: Vector<T, inlineCapacity, HeapAllocator>(other)

Powered by Google App Engine
This is Rietveld 408576698