From 99d9f61ad77b111de0fb04f0a40b25718643b5e8 Mon Sep 17 00:00:00 2001 From: oprypin Date: Tue, 9 May 2017 02:43:51 -0700 Subject: [PATCH] Drop deprecated AudioFrameOperations::Scale method signatures Context: https://codereview.webrtc.org/2739073003/diff/280003/webrtc/audio/utility/audio_frame_operations.h To satisfy cpplint, the signature of the Scale* methods needed to be changed from a reference to a pointer. However, not to break internal users, the old signature was kept temporarily. Now it can be removed because it's not used anymore. BUG=webrtc:5268 Review-Url: https://codereview.webrtc.org/2861003004 Cr-Commit-Position: refs/heads/master@{#18064} --- webrtc/audio/utility/audio_frame_operations.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/webrtc/audio/utility/audio_frame_operations.h b/webrtc/audio/utility/audio_frame_operations.h index 56f318fade..23c33ec67e 100644 --- a/webrtc/audio/utility/audio_frame_operations.h +++ b/webrtc/audio/utility/audio_frame_operations.h @@ -115,17 +115,7 @@ class AudioFrameOperations { static int Scale(float left, float right, AudioFrame* frame); - static int Scale(float left, float right, AudioFrame& frame) { // NOLINT - // TODO(oprypin): drop this method - return Scale(left, right, &frame); - } - static int ScaleWithSat(float scale, AudioFrame* frame); - - static int ScaleWithSat(float scale, AudioFrame& frame) { // NOLINT - // TODO(oprypin): drop this method - return ScaleWithSat(scale, &frame); - } }; } // namespace webrtc