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

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: rebase Created 3 years, 11 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 | « content/browser/media/capture/cursor_renderer_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f32565a2f3e26f0d1cc65db4ab6f1a6ddf180caf..5be935ef1619d9c116a94ba4ead2e26e53c28e31 100644
--- a/content/browser/media/capture/web_contents_video_capture_device.cc
+++ b/content/browser/media/capture/web_contents_video_capture_device.cc
@@ -283,7 +283,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());
« no previous file with comments | « content/browser/media/capture/cursor_renderer_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698