| Index: third_party/WebKit/Source/platform/v8_inspector/RemoteObjectId.cpp
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/RemoteObjectId.cpp b/third_party/WebKit/Source/platform/v8_inspector/RemoteObjectId.cpp
|
| index 380dd6cd9ab10baaf94042b41f05a0b1a0e66498..50f430fe4a254dbd34c98be618e57c086dc8fcb5 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/RemoteObjectId.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/RemoteObjectId.cpp
|
| @@ -21,7 +21,7 @@ PassOwnPtr<protocol::DictionaryValue> RemoteObjectIdBase::parseInjectedScriptId(
|
| OwnPtr<protocol::DictionaryValue> parsedObjectId = adoptPtr(protocol::DictionaryValue::cast(parsedValue.leakPtr()));
|
| bool success = parsedObjectId->getNumber("injectedScriptId", &m_injectedScriptId);
|
| if (success)
|
| - return parsedObjectId.release();
|
| + return parsedObjectId;
|
| return nullptr;
|
| }
|
|
|
| @@ -41,7 +41,7 @@ PassOwnPtr<RemoteObjectId> RemoteObjectId::parse(ErrorString* errorString, const
|
| *errorString = "Invalid remote object id";
|
| return nullptr;
|
| }
|
| - return result.release();
|
| + return result;
|
| }
|
|
|
| RemoteCallFrameId::RemoteCallFrameId() : RemoteObjectIdBase(), m_frameOrdinal(0) { }
|
| @@ -61,7 +61,7 @@ PassOwnPtr<RemoteCallFrameId> RemoteCallFrameId::parse(ErrorString* errorString,
|
| return nullptr;
|
| }
|
|
|
| - return result.release();
|
| + return result;
|
| }
|
|
|
| String16 RemoteCallFrameId::serialize(int injectedScriptId, int frameOrdinal)
|
|
|