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

Unified Diff: content/test/webrtc_audio_device_test.cc

Issue 9297022: Change ChildProcess::set_main_thread registration to occur inside the RenderThreadImpl::Init method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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/test/webrtc_audio_device_test.cc
===================================================================
--- content/test/webrtc_audio_device_test.cc (revision 118690)
+++ content/test/webrtc_audio_device_test.cc (working copy)
@@ -121,8 +121,9 @@
base::Unretained(this), kThreadName));
WaitForIOThreadCompletion();
+ // The RenderThreadImpl will register itself as the main thread for the
+ // current process.
render_thread_ = new RenderThreadImpl(kThreadName);
- mock_process_->set_main_thread(render_thread_);
}
void WebRTCAudioDeviceTest::TearDown() {
« content/renderer/render_thread_impl.cc ('K') | « content/test/render_view_fake_resources_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698