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

Unified Diff: third_party/WebKit/Source/platform/audio/FFTFrame.cpp

Issue 1981823002: Remove OwnPtr::release() calls in platform/ (part 1). (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/platform/audio/FFTFrame.cpp
diff --git a/third_party/WebKit/Source/platform/audio/FFTFrame.cpp b/third_party/WebKit/Source/platform/audio/FFTFrame.cpp
index 5abb2e33c09f1f7549a7e742538beab4c3fde0b2..9d70364c984c8a5d4584dace6977a16c2e85f34e 100644
--- a/third_party/WebKit/Source/platform/audio/FFTFrame.cpp
+++ b/third_party/WebKit/Source/platform/audio/FFTFrame.cpp
@@ -64,7 +64,7 @@ PassOwnPtr<FFTFrame> FFTFrame::createInterpolatedFrame(const FFTFrame& frame1, c
// Put back into frequency domain.
newFrame->doFFT(buffer.data());
- return newFrame.release();
+ return newFrame;
}
void FFTFrame::interpolateFrequencyComponents(const FFTFrame& frame1, const FFTFrame& frame2, double interp)
« no previous file with comments | « third_party/WebKit/Source/platform/TracedValueTest.cpp ('k') | third_party/WebKit/Source/platform/audio/HRTFDatabase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698