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/HeapTerminatedArray.h

Issue 1609943003: Make platform/heap to use USING_FAST_MALLOC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed compile error Created 4 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: 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 be0bd91725da1e724361f1075283a3d9c6965aba..e87ba2cb6839522877a12490258aa3eed2198f2a 100644
--- a/third_party/WebKit/Source/platform/heap/HeapTerminatedArray.h
+++ b/third_party/WebKit/Source/platform/heap/HeapTerminatedArray.h
@@ -27,7 +27,8 @@ public:
private:
// Allocator describes how HeapTerminatedArrayBuilder should create new intances
// of TerminateArray and manage their lifetimes.
- struct Allocator {
+ struct Allocator final {
+ STATIC_ONLY(Allocator);
typedef HeapTerminatedArray* PassPtr;
typedef RawPtr<HeapTerminatedArray> Ptr;

Powered by Google App Engine
This is Rietveld 408576698