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

Unified Diff: lib/Array_h.template

Issue 2490733002: [inspector_protocol] Allow custom json parser. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « CodeGenerator.py ('k') | lib/DispatcherBase_cpp.template » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Array_h.template
diff --git a/lib/Array_h.template b/lib/Array_h.template
index 9555e302a933d0f0a1b561bcc7964e2912df3211..a258da1cc5630b4831b2ceb44b69074ffcfb079e 100644
--- a/lib/Array_h.template
+++ b/lib/Array_h.template
@@ -19,7 +19,7 @@ class Array {
public:
static std::unique_ptr<Array<T>> create()
{
- return wrapUnique(new Array<T>());
+ return std::unique_ptr<Array<T>>(new Array<T>());
}
static std::unique_ptr<Array<T>> parse(protocol::Value* value, ErrorSupport* errors)
@@ -74,7 +74,7 @@ class ArrayBase {
public:
static std::unique_ptr<Array<T>> create()
{
- return wrapUnique(new Array<T>());
+ return std::unique_ptr<Array<T>>(new Array<T>());
}
static std::unique_ptr<Array<T>> parse(protocol::Value* value, ErrorSupport* errors)
« no previous file with comments | « CodeGenerator.py ('k') | lib/DispatcherBase_cpp.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698