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

Unified Diff: content/renderer/media/webrtc_audio_device_unittest.cc

Issue 10837118: Dead code elimination: scythe.chrome_functions:segment.path %media% edition, round 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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: content/renderer/media/webrtc_audio_device_unittest.cc
diff --git a/content/renderer/media/webrtc_audio_device_unittest.cc b/content/renderer/media/webrtc_audio_device_unittest.cc
index c3db6d7eb7d4ad347a85888f5f558489b39cbdbe..2937d86988610204399d67763172ecfebba2154d 100644
--- a/content/renderer/media/webrtc_audio_device_unittest.cc
+++ b/content/renderer/media/webrtc_audio_device_unittest.cc
@@ -24,10 +24,6 @@ using testing::StrEq;
namespace {
-ACTION_P(QuitMessageLoop, loop_or_proxy) {
- loop_or_proxy->PostTask(FROM_HERE, MessageLoop::QuitClosure());
-}
-
class AudioUtil : public AudioUtilInterface {
public:
AudioUtil() {}
@@ -167,11 +163,6 @@ class WebRTCMediaProcessImpl : public webrtc::VoEMediaProcess {
return sample_rate_;
}
- int channels() const {
- base::AutoLock auto_lock(lock_);
- return channels_;
- }
-
private:
base::WaitableEvent* event_;
int channel_id_;

Powered by Google App Engine
This is Rietveld 408576698