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

Unified Diff: content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc

Issue 13533007: Test extension reloading behavior. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add ForTesting to SetRenderProcessHostFactory Created 7 years, 8 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/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc
diff --git a/content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc b/content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc
index 7d027b0a1bb93531374983aeb09dda20c4ce641c..e73d10250ded4042a6cee82efd2e04b0c5e2dbac 100644
--- a/content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc
+++ b/content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc
@@ -439,7 +439,8 @@ class WebContentsVideoCaptureDeviceTest : public testing::Test {
scoped_refptr<SiteInstance> site_instance =
SiteInstance::Create(browser_context_.get());
static_cast<SiteInstanceImpl*>(site_instance.get())->
- set_render_process_host_factory(render_process_host_factory_.get());
+ SetRenderProcessHostFactoryForTesting(
+ render_process_host_factory_.get());
web_contents_.reset(
TestWebContents::Create(browser_context_.get(), site_instance));
@@ -961,4 +962,3 @@ TEST(SmoothEventSamplerTest, FallbackToPollingIfUpdatesUnreliable) {
}
} // namespace content
-

Powered by Google App Engine
This is Rietveld 408576698