Index: third_party/inspector_protocol/lib/Array_h.template |
diff --git a/third_party/inspector_protocol/lib/Array_h.template b/third_party/inspector_protocol/lib/Array_h.template |
index 9555e302a933d0f0a1b561bcc7964e2912df3211..a258da1cc5630b4831b2ceb44b69074ffcfb079e 100644 |
--- a/third_party/inspector_protocol/lib/Array_h.template |
+++ b/third_party/inspector_protocol/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) |