Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Unified Diff: third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.cpp

Issue 1979953002: Remove OwnPtr::release() calls in modules/ (part 3). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.cpp
diff --git a/third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.cpp b/third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.cpp
index 0a9d36fd1c9cc246caada6ab2116efcc9e7f348e..e95695f171af3abff23a589571745124f8fa59e0 100644
--- a/third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.cpp
+++ b/third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.cpp
@@ -18,7 +18,7 @@ PassOwnPtr<TracedValue> InspectorWebSocketCreateEvent::data(Document* document,
if (!protocol.isNull())
value->setString("webSocketProtocol", protocol);
setCallStack(value.get());
- return value.release();
+ return value;
}
PassOwnPtr<TracedValue> InspectorWebSocketEvent::data(Document* document, unsigned long identifier)
@@ -27,7 +27,7 @@ PassOwnPtr<TracedValue> InspectorWebSocketEvent::data(Document* document, unsign
value->setInteger("identifier", identifier);
value->setString("frame", toHexString(document->frame()));
setCallStack(value.get());
- return value.release();
+ return value;
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698