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

Unified Diff: third_party/WebKit/Source/core/layout/TracedLayoutObject.cpp

Issue 1979183002: Remove OwnPtr::release() calls in core/ (part 3). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with trunk. 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/core/layout/TracedLayoutObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/TracedLayoutObject.cpp b/third_party/WebKit/Source/core/layout/TracedLayoutObject.cpp
index 5a1b2b9540551fa1e49509b6aa92c9ccfba66141..fddb6c4aea6748ba1ea9a99221dffb885c1b9f6c 100644
--- a/third_party/WebKit/Source/core/layout/TracedLayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/TracedLayoutObject.cpp
@@ -103,7 +103,7 @@ PassOwnPtr<TracedValue> TracedLayoutObject::create(const LayoutView& view, bool
{
OwnPtr<TracedValue> tracedValue = TracedValue::create();
dumpToTracedValue(view, traceGeometry, tracedValue.get());
- return tracedValue.release();
+ return tracedValue;
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698