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

Unified Diff: third_party/WebKit/Source/wtf/TerminatedArray.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/wtf/TerminatedArray.h
diff --git a/third_party/WebKit/Source/wtf/TerminatedArray.h b/third_party/WebKit/Source/wtf/TerminatedArray.h
index a20cbeecd108b77107cd1ef9b0d50981a8145558..24c0ac4a6ce9809f64f04b5f0a7a7bc3d40889d6 100644
--- a/third_party/WebKit/Source/wtf/TerminatedArray.h
+++ b/third_party/WebKit/Source/wtf/TerminatedArray.h
@@ -74,8 +74,8 @@ private:
// of TerminateArray and manage their lifetimes.
struct Allocator {
STATIC_ONLY(Allocator);
- typedef PassOwnPtr<TerminatedArray> PassPtr;
- typedef OwnPtr<TerminatedArray> Ptr;
+ using PassPtr = PassOwnPtr<TerminatedArray>;
+ using Ptr = OwnPtr<TerminatedArray>;
static PassPtr release(Ptr& ptr)
{

Powered by Google App Engine
This is Rietveld 408576698