| 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 2e2527a0bc29b993e0a634d9ea8dece6b461432d..0e5347cb506ee8aa6e4c3f98fbc2f89b27b2c6c5 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()");
|
| }
|
|
|
|
|