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

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

Issue 2553763002: Fix cursor missing in tabCapture on OSX Sierra (Closed)
Patch Set: address comments and implement mouse tracking on Mac Created 3 years, 12 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/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 d258238ef7e97762740a5c88a48ce5dbab96c9b2..6951d4279933bdf1338e9d76cf070cf6bc975b46 100644
--- a/content/browser/media/capture/web_contents_video_capture_device.cc
+++ b/content/browser/media/capture/web_contents_video_capture_device.cc
@@ -374,7 +374,7 @@ void FrameSubscriber::DidCaptureFrame(
CursorRenderer* cursor_renderer =
frame_subscriber_->cursor_renderer_.get();
if (cursor_renderer->SnapshotCursorState(region_in_frame))
- cursor_renderer->RenderOnVideoFrame(frame);
+ cursor_renderer->RenderOnVideoFrame(frame.get());
frame->metadata()->SetBoolean(
media::VideoFrameMetadata::INTERACTIVE_CONTENT,
frame_subscriber_->IsUserInteractingWithContent());

Powered by Google App Engine
This is Rietveld 408576698