| Index: src/inspector/ProtocolPlatform.h
|
| diff --git a/src/inspector/ProtocolPlatform.h b/src/inspector/ProtocolPlatform.h
|
| index cb6d4f2dbea5e93b72929dc808d7dce65b1a23f8..c7723932b42465f0abb5d2f7f3f4dc5e42c1f05d 100644
|
| --- a/src/inspector/ProtocolPlatform.h
|
| +++ b/src/inspector/ProtocolPlatform.h
|
| @@ -5,11 +5,17 @@
|
| #ifndef V8_INSPECTOR_PROTOCOLPLATFORM_H_
|
| #define V8_INSPECTOR_PROTOCOLPLATFORM_H_
|
|
|
| -// TODO(dgozman): this file should be removed from v8_inspector.
|
| +#include <memory>
|
|
|
| -//#include "wtf/Assertions.h"
|
| -//#include "wtf/PtrUtil.h"
|
| +#include "src/base/logging.h"
|
|
|
| -#include <memory>
|
| +namespace v8_inspector {
|
| +
|
| +template <typename T>
|
| +std::unique_ptr<T> wrapUnique(T* ptr) {
|
| + return std::unique_ptr<T>(ptr);
|
| +}
|
| +
|
| +} // namespace v8_inspector
|
|
|
| #endif // V8_INSPECTOR_PROTOCOLPLATFORM_H_
|
|
|