| 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 fba8e1bd23a905676b15ce12ccabdb859a51069e..fc2a1f1ac408f7dbcd02132bc880342732ce4829 100644
|
| --- a/content/browser/media/capture/web_contents_video_capture_device.cc
|
| +++ b/content/browser/media/capture/web_contents_video_capture_device.cc
|
| @@ -269,7 +269,7 @@ class WebContentsCaptureMachine
|
| RenewFrameSubscription();
|
| }
|
|
|
| - virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE;
|
| + virtual void WebContentsDestroyed() OVERRIDE;
|
|
|
| private:
|
| // Starts observing the web contents, returning false if lookup fails.
|
| @@ -702,12 +702,11 @@ bool WebContentsCaptureMachine::StartObservingWebContents() {
|
| return false;
|
| }
|
|
|
| -void WebContentsCaptureMachine::WebContentsDestroyed(
|
| - WebContents* web_contents) {
|
| +void WebContentsCaptureMachine::WebContentsDestroyed() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
|
|
| subscription_.reset();
|
| - web_contents->DecrementCapturerCount();
|
| + web_contents()->DecrementCapturerCount();
|
| oracle_proxy_->ReportError("WebContentsDestroyed()");
|
| }
|
|
|
|
|