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

Unified Diff: third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp

Issue 2909613002: Replaced usage of RefPtr::Release with std::move wraps. (Closed)
Patch Set: Created 3 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/webaudio/WaveShaperNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp b/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp
index 3a8ff8890b27d65e9bc2078ae1cd72e816d3ab43..9668910a2f71270a23e66961b0045561c80677c3 100644
--- a/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp
@@ -120,7 +120,7 @@ NotShared<DOMFloat32Array> WaveShaperNode::curve() {
memcpy(new_curve->Data(), curve->data(), sizeof(float) * size);
return NotShared<DOMFloat32Array>(
- DOMFloat32Array::Create(new_curve.Release()));
+ DOMFloat32Array::Create(std::move(new_curve)));
}
void WaveShaperNode::setOversample(const String& type) {

Powered by Google App Engine
This is Rietveld 408576698