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 8fbaca2c4505f42ae564554614ef4a21da99ace9..3420b09eb7b3b18548c55360c1645eafd9720eb2 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 |
@@ -493,7 +493,7 @@ class WebContentsVideoCaptureDeviceTest : public testing::Test { |
// Accessors. |
CaptureTestSourceController* source() { return &controller_; } |
- media::VideoCaptureDevice* device() { return device_.get(); } |
+ media::VideoCaptureDevice1* device() { return device_.get(); } |
StubConsumer* consumer() { return &consumer_; } |
void SimulateDrawEvent() { |
@@ -532,7 +532,7 @@ class WebContentsVideoCaptureDeviceTest : public testing::Test { |
scoped_ptr<WebContents> web_contents_; |
// Finally, the WebContentsVideoCaptureDevice under test. |
- scoped_ptr<media::VideoCaptureDevice> device_; |
+ scoped_ptr<media::VideoCaptureDevice1> device_; |
TestBrowserThreadBundle thread_bundle_; |
}; |
@@ -753,7 +753,7 @@ TEST_F(WebContentsVideoCaptureDeviceTest, RejectsInvalidAllocateParams) { |
media::ConstantResolutionVideoCaptureDevice); |
BrowserThread::PostTask(BrowserThread::UI, |
FROM_HERE, |
- base::Bind(&media::VideoCaptureDevice::Allocate, |
+ base::Bind(&media::VideoCaptureDevice1::Allocate, |
base::Unretained(device()), |
capture_format, |
consumer())); |