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

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

Issue 8171015: Rename RenderThread to RenderThreadImpl (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
« no previous file with comments | « content/renderer/indexed_db_dispatcher.cc ('k') | content/renderer/media/audio_input_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/audio_device.cc
===================================================================
--- content/renderer/media/audio_device.cc (revision 104358)
+++ content/renderer/media/audio_device.cc (working copy)
@@ -10,7 +10,7 @@
#include "content/common/child_process.h"
#include "content/common/media/audio_messages.h"
#include "content/common/view_messages.h"
-#include "content/renderer/render_thread.h"
+#include "content/renderer/render_thread_impl.h"
#include "media/audio/audio_util.h"
AudioDevice::AudioDevice(size_t buffer_size,
@@ -25,7 +25,7 @@
audio_delay_milliseconds_(0),
volume_(1.0),
stream_id_(0) {
- filter_ = RenderThread::current()->audio_message_filter();
+ filter_ = RenderThreadImpl::current()->audio_message_filter();
audio_data_.reserve(channels);
for (int i = 0; i < channels; ++i) {
float* channel_data = new float[buffer_size];
@@ -238,7 +238,7 @@
// Uses cached value if possible.
static double hardware_sample_rate = 0;
if (!hardware_sample_rate) {
- RenderThread::current()->Send(
+ RenderThreadImpl::current()->Send(
new ViewHostMsg_GetHardwareSampleRate(&hardware_sample_rate));
}
return hardware_sample_rate;
« no previous file with comments | « content/renderer/indexed_db_dispatcher.cc ('k') | content/renderer/media/audio_input_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698