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

Unified Diff: webkit/plugins/ppapi/ppb_video_capture_impl.cc

Issue 8036005: Add a flag in StopCapture to allow event handler to choose event notification. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: add missing file Created 9 years, 3 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 | « media/video/capture/video_capture.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_video_capture_impl.cc
===================================================================
--- webkit/plugins/ppapi/ppb_video_capture_impl.cc (revision 102594)
+++ webkit/plugins/ppapi/ppb_video_capture_impl.cc (working copy)
@@ -107,7 +107,7 @@
}
ReleaseBuffers();
status_ = PP_VIDEO_CAPTURE_STATUS_STOPPING;
- platform_video_capture_->StopCapture(this);
+ platform_video_capture_->StopCapture(this, false);
return PP_OK;
}
@@ -229,7 +229,7 @@
// capture.
ppp_videocapture_->OnError(pp_instance(), pp_resource(), PP_ERROR_NOMEMORY);
status_ = PP_VIDEO_CAPTURE_STATUS_STOPPING;
- platform_video_capture_->StopCapture(this);
+ platform_video_capture_->StopCapture(this, false);
return;
}
« no previous file with comments | « media/video/capture/video_capture.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698