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

Unified Diff: trunk/src/content/renderer/media/webrtc_audio_capturer_sink_owner.cc

Issue 22871007: Revert 217768 "Adding key press detection in the browser process." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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: trunk/src/content/renderer/media/webrtc_audio_capturer_sink_owner.cc
===================================================================
--- trunk/src/content/renderer/media/webrtc_audio_capturer_sink_owner.cc (revision 217773)
+++ trunk/src/content/renderer/media/webrtc_audio_capturer_sink_owner.cc (working copy)
@@ -18,19 +18,13 @@
int number_of_frames,
int audio_delay_milliseconds,
int current_volume,
- bool need_audio_processing,
- bool key_pressed) {
+ bool need_audio_processing) {
base::AutoLock lock(lock_);
if (delegate_) {
- delegate_->CaptureData(channels,
- audio_data,
- sample_rate,
- number_of_channels,
- number_of_frames,
- audio_delay_milliseconds,
- current_volume,
- need_audio_processing,
- key_pressed);
+ return delegate_->CaptureData(channels, audio_data, sample_rate,
+ number_of_channels, number_of_frames,
+ audio_delay_milliseconds, current_volume,
+ need_audio_processing);
}
return 0;

Powered by Google App Engine
This is Rietveld 408576698