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

Unified Diff: content/browser/media/capture/cursor_renderer_aura_unittest.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
Index: content/browser/media/capture/cursor_renderer_aura_unittest.cc
diff --git a/content/browser/media/capture/cursor_renderer_aura_unittest.cc b/content/browser/media/capture/cursor_renderer_aura_unittest.cc
index d4577b1ed18d68dd43f2b1342b05842e74e211e9..821c110e553597a3eeabcc8e0af64180d1dbc1a9 100644
--- a/content/browser/media/capture/cursor_renderer_aura_unittest.cc
+++ b/content/browser/media/capture/cursor_renderer_aura_unittest.cc
@@ -68,8 +68,7 @@ class CursorRendererAuraTest : public AuraTestBase {
bool CursorDisplayed() { return cursor_renderer_->cursor_displayed_; }
- void RenderCursorOnVideoFrame(
- const scoped_refptr<media::VideoFrame>& target) {
+ void RenderCursorOnVideoFrame(media::VideoFrame* target) {
cursor_renderer_->RenderOnVideoFrame(target);
}
@@ -222,7 +221,7 @@ TEST_F(CursorRendererAuraTest, CursorRenderedOnFrame) {
EXPECT_TRUE(CursorDisplayed());
EXPECT_FALSE(NonZeroPixelsInRegion(frame, gfx::Rect(50, 50, 70, 70)));
- RenderCursorOnVideoFrame(frame);
+ RenderCursorOnVideoFrame(frame.get());
EXPECT_TRUE(NonZeroPixelsInRegion(frame, gfx::Rect(50, 50, 70, 70)));
}
« no previous file with comments | « content/browser/media/capture/cursor_renderer_aura.cc ('k') | content/browser/media/capture/cursor_renderer_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698