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

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

Issue 2553763002: Fix cursor missing in tabCapture on OSX Sierra (Closed)
Patch Set: address comments 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
Index: content/browser/media/capture/aura_window_capture_machine.cc
diff --git a/content/browser/media/capture/aura_window_capture_machine.cc b/content/browser/media/capture/aura_window_capture_machine.cc
index 561e68a6f509eafb43df0c15ebfe1d3ba649c735..2e7432ac1ed67e2c6bd55f5abd69e57809736ba8 100644
--- a/content/browser/media/capture/aura_window_capture_machine.cc
+++ b/content/browser/media/capture/aura_window_capture_machine.cc
@@ -363,7 +363,7 @@ void AuraWindowCaptureMachine::CopyOutputFinishedForVideo(
// still valid).
if (machine) {
if (machine->cursor_renderer_ && result)
- machine->cursor_renderer_->RenderOnVideoFrame(target);
+ machine->cursor_renderer_->RenderOnVideoFrame(target.get());
} else {
VLOG(1) << "Aborting capture: AuraWindowCaptureMachine has gone away.";
result = false;

Powered by Google App Engine
This is Rietveld 408576698