Index: src/inspector/java-script-call-frame.h |
diff --git a/src/inspector/java-script-call-frame.h b/src/inspector/java-script-call-frame.h |
index 5a4ce19cc20ef646a215647c545201591e1bd2f4..d8340546d14464093ffb33946248760de518919f 100644 |
--- a/src/inspector/java-script-call-frame.h |
+++ b/src/inspector/java-script-call-frame.h |
@@ -31,10 +31,10 @@ |
#ifndef V8_INSPECTOR_JAVASCRIPTCALLFRAME_H_ |
#define V8_INSPECTOR_JAVASCRIPTCALLFRAME_H_ |
+#include <memory> |
#include <vector> |
#include "src/base/macros.h" |
-#include "src/inspector/protocol-platform.h" |
#include "include/v8.h" |
@@ -44,7 +44,8 @@ class JavaScriptCallFrame { |
public: |
static std::unique_ptr<JavaScriptCallFrame> create( |
v8::Local<v8::Context> debuggerContext, v8::Local<v8::Object> callFrame) { |
- return wrapUnique(new JavaScriptCallFrame(debuggerContext, callFrame)); |
+ return std::unique_ptr<JavaScriptCallFrame>( |
+ new JavaScriptCallFrame(debuggerContext, callFrame)); |
} |
~JavaScriptCallFrame(); |