| Index: content/browser/media/capture/web_contents_video_capture_device.cc
|
| diff --git a/content/browser/media/capture/web_contents_video_capture_device.cc b/content/browser/media/capture/web_contents_video_capture_device.cc
|
| index 6dc8ac04419c7991d5964920a1dffbea5906df4b..655c63c601919df2136ae636ec673fd9ffe62bca 100644
|
| --- a/content/browser/media/capture/web_contents_video_capture_device.cc
|
| +++ b/content/browser/media/capture/web_contents_video_capture_device.cc
|
| @@ -340,7 +340,7 @@ ContentCaptureSubscription::ContentCaptureSubscription(
|
|
|
| // Subscribe to accelerated presents. These will be serviced directly by the
|
| // oracle.
|
| - if (view && kAcceleratedSubscriberIsSupported) {
|
| + if (view) {
|
| scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber(
|
| new FrameSubscriber(VideoCaptureOracle::kCompositorUpdate,
|
| oracle_proxy, &delivery_log_));
|
| @@ -368,13 +368,11 @@ ContentCaptureSubscription::~ContentCaptureSubscription() {
|
| return;
|
|
|
| DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
| - if (kAcceleratedSubscriberIsSupported) {
|
| - RenderWidgetHost* const source =
|
| - RenderWidgetHost::FromID(render_process_id_, render_widget_id_);
|
| - RenderWidgetHostView* const view = source ? source->GetView() : NULL;
|
| - if (view)
|
| - view->EndFrameSubscription();
|
| - }
|
| + RenderWidgetHost* const source =
|
| + RenderWidgetHost::FromID(render_process_id_, render_widget_id_);
|
| + RenderWidgetHostView* const view = source ? source->GetView() : NULL;
|
| + if (view)
|
| + view->EndFrameSubscription();
|
| }
|
|
|
| void ContentCaptureSubscription::Observe(
|
|
|