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

Unified Diff: remoting/host/ipc_video_frame_capturer.cc

Issue 14305004: Simplify ScreenCapturer interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « remoting/host/ipc_video_frame_capturer.h ('k') | remoting/host/video_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_video_frame_capturer.cc
diff --git a/remoting/host/ipc_video_frame_capturer.cc b/remoting/host/ipc_video_frame_capturer.cc
index 24383f1ee44bace09d9998c585dcbcd1c2d18fae..5d1016f9307580cbcd7a8a708330f66b6aa0b45c 100644
--- a/remoting/host/ipc_video_frame_capturer.cc
+++ b/remoting/host/ipc_video_frame_capturer.cc
@@ -25,15 +25,6 @@ void IpcVideoFrameCapturer::Start(Delegate* delegate) {
desktop_session_proxy_->SetVideoCapturer(weak_factory_.GetWeakPtr());
}
-void IpcVideoFrameCapturer::Stop() {
- delegate_ = NULL;
- weak_factory_.InvalidateWeakPtrs();
-}
-
-void IpcVideoFrameCapturer::InvalidateRegion(const SkRegion& invalid_region) {
- desktop_session_proxy_->InvalidateRegion(invalid_region);
-}
-
void IpcVideoFrameCapturer::CaptureFrame() {
desktop_session_proxy_->CaptureFrame();
}
« no previous file with comments | « remoting/host/ipc_video_frame_capturer.h ('k') | remoting/host/video_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698