Index: src/inspector/injected-script-native.cc |
diff --git a/src/inspector/injected-script-native.cc b/src/inspector/injected-script-native.cc |
index fcf2ead94b3faa078544cc1d252ec432483f7d9e..fa3cf5f9a68290391e3c423bced18bb2eb8efa64 100644 |
--- a/src/inspector/injected-script-native.cc |
+++ b/src/inspector/injected-script-native.cc |
@@ -44,8 +44,8 @@ int InjectedScriptNative::bind(v8::Local<v8::Value> value, |
const String16& groupName) { |
if (m_lastBoundObjectId <= 0) m_lastBoundObjectId = 1; |
int id = m_lastBoundObjectId++; |
- m_idToWrappedObject[id] = |
- wrapUnique(new v8::Global<v8::Value>(m_isolate, value)); |
+ m_idToWrappedObject[id] = std::unique_ptr<v8::Global<v8::Value>>( |
+ new v8::Global<v8::Value>(m_isolate, value)); |
addObjectToGroup(id, groupName); |
return id; |
} |