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

Unified Diff: content/test/webrtc_audio_device_test.cc

Issue 10449094: Fix client-side phishing detection test flakiness and ChromeOS failure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Generalize the fix and apply it to webrtc_audio_device_test Created 8 years, 7 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
« content/test/render_test_utils.h ('K') | « content/test/render_view_test.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/webrtc_audio_device_test.cc
diff --git a/content/test/webrtc_audio_device_test.cc b/content/test/webrtc_audio_device_test.cc
index 45325953580bc643741bea4b60c446529495840d..c1cbf45b6c3dfb3320e6480622be9c5a8d7d279e 100644
--- a/content/test/webrtc_audio_device_test.cc
+++ b/content/test/webrtc_audio_device_test.cc
@@ -22,8 +22,8 @@
#include "content/renderer/media/audio_hardware.h"
#include "content/renderer/media/webrtc_audio_device_impl.h"
#include "content/renderer/render_process.h"
-#include "content/renderer/render_thread_impl.h"
#include "content/test/mock_resource_context.h"
+#include "content/test/render_test_utils.h"
#include "content/test/test_browser_thread.h"
#include "net/url_request/url_request_test_util.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -137,7 +137,7 @@ void WebRTCAudioDeviceTest::SetUp() {
base::Unretained(this), kThreadName));
WaitForIOThreadCompletion();
- render_thread_ = new RenderThreadImpl(kThreadName);
+ render_thread_ = new content::RenderThreadImplNoSandbox(kThreadName);
}
void WebRTCAudioDeviceTest::TearDown() {
« content/test/render_test_utils.h ('K') | « content/test/render_view_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698