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

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

Issue 2021713002: (Heap)TerminatedArrayBuilders are stack allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tidy HeapTerminatedArray Created 4 years, 7 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: third_party/WebKit/Source/platform/heap/HeapTerminatedArrayBuilder.h
diff --git a/third_party/WebKit/Source/platform/heap/HeapTerminatedArrayBuilder.h b/third_party/WebKit/Source/platform/heap/HeapTerminatedArrayBuilder.h
index 192f0095aef16c9933777e59fe3acc28f565b25e..3b9f9939b5f313d1106a7757eb6d86f924df97c1 100644
--- a/third_party/WebKit/Source/platform/heap/HeapTerminatedArrayBuilder.h
+++ b/third_party/WebKit/Source/platform/heap/HeapTerminatedArrayBuilder.h
@@ -13,6 +13,7 @@ namespace blink {
template<typename T>
class HeapTerminatedArrayBuilder final : public TerminatedArrayBuilder<T, HeapTerminatedArray> {
+ STACK_ALLOCATED();
public:
explicit HeapTerminatedArrayBuilder(HeapTerminatedArray<T>* array) : TerminatedArrayBuilder<T, HeapTerminatedArray>(array) { }
};
« no previous file with comments | « third_party/WebKit/Source/platform/heap/HeapTerminatedArray.h ('k') | third_party/WebKit/Source/wtf/TerminatedArray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698