Index: content/browser/renderer_host/render_widget_host_view_browsertest.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_browsertest.cc b/content/browser/renderer_host/render_widget_host_view_browsertest.cc |
index 4a6de28207b9c4baa18c28c91fb6ccdb718309f9..c12d5922f8e775312913c4cc2c56566603101d17 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_browsertest.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_browsertest.cc |
@@ -392,12 +392,13 @@ IN_PROC_BROWSER_TEST_F(CompositingRenderWidgetHostViewBrowserTest, CopyTwice) { |
base::RunLoop run_loop; |
scoped_refptr<media::VideoFrame> first_output = |
media::VideoFrame::CreateBlackFrame(frame_size()); |
- ASSERT_TRUE(first_output); |
+ ASSERT_TRUE(first_output.get()); |
scoped_refptr<media::VideoFrame> second_output = |
media::VideoFrame::CreateBlackFrame(frame_size()); |
- ASSERT_TRUE(second_output); |
+ ASSERT_TRUE(second_output.get()); |
view->CopyFromCompositingSurfaceToVideoFrame( |
- gfx::Rect(view->GetViewBounds().size()), first_output, |
+ gfx::Rect(view->GetViewBounds().size()), |
+ first_output, |
base::Bind(&RenderWidgetHostViewBrowserTest::FrameDelivered, |
base::Unretained(this), |
base::MessageLoopProxy::current(), |