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

Unified Diff: content/browser/media/capture/desktop_capture_device_aura.cc

Issue 514073002: Fix for ~ContentCaptureSubscription() after BrowserThreads are torn down. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/media/capture/desktop_capture_device_aura.cc
diff --git a/content/browser/media/capture/desktop_capture_device_aura.cc b/content/browser/media/capture/desktop_capture_device_aura.cc
index 14dc780f19cb03789ed7d87e33944ecacbd6d7b6..8cc0688d251cf3b8be624ad4e1ed035878c83eb9 100644
--- a/content/browser/media/capture/desktop_capture_device_aura.cc
+++ b/content/browser/media/capture/desktop_capture_device_aura.cc
@@ -227,7 +227,6 @@ bool DesktopVideoCaptureMachine::Start(
base::Bind(&DesktopVideoCaptureMachine::Capture, AsWeakPtr(),
false));
- started_ = true;
return true;
}
@@ -246,8 +245,6 @@ void DesktopVideoCaptureMachine::Stop(const base::Closure& callback) {
// Stop timer.
timer_.Stop();
- started_ = false;
-
callback.Run();
}

Powered by Google App Engine
This is Rietveld 408576698