Index: cc/trees/layer_tree_host_unittest_context.cc |
diff --git a/cc/trees/layer_tree_host_unittest_context.cc b/cc/trees/layer_tree_host_unittest_context.cc |
index 8b09054894341ee5995163ffbd2d9d39c481c9c7..c1436e5368208f84ce8d2c4e69e52d5ba085c3b7 100644 |
--- a/cc/trees/layer_tree_host_unittest_context.cc |
+++ b/cc/trees/layer_tree_host_unittest_context.cc |
@@ -1076,13 +1076,11 @@ class LayerTreeHostContextTestDontUseLostResources |
color_video_frame_ = VideoFrame::CreateColorFrame( |
gfx::Size(4, 4), 0x80, 0x80, 0x80, base::TimeDelta()); |
hw_video_frame_ = VideoFrame::WrapNativeTexture( |
- make_scoped_ptr( |
- new gpu::MailboxHolder(mailbox, GL_TEXTURE_2D, sync_point)), |
+ gpu::MailboxHolder(mailbox, GL_TEXTURE_2D, sync_point), |
media::VideoFrame::ReleaseMailboxCB(), gfx::Size(4, 4), |
gfx::Rect(0, 0, 4, 4), gfx::Size(4, 4), base::TimeDelta(), false); |
scaled_hw_video_frame_ = VideoFrame::WrapNativeTexture( |
- make_scoped_ptr( |
- new gpu::MailboxHolder(mailbox, GL_TEXTURE_2D, sync_point)), |
+ gpu::MailboxHolder(mailbox, GL_TEXTURE_2D, sync_point), |
media::VideoFrame::ReleaseMailboxCB(), gfx::Size(4, 4), |
gfx::Rect(0, 0, 3, 2), gfx::Size(4, 4), base::TimeDelta(), false); |