| Index: content/common/gpu/gpu_channel.cc
|
| diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc
|
| index a13965048a4585a631dff4ec7b0ff401eb0b64ac..0d845c956f1bc5428a4f2d620d86b39689f152b9 100644
|
| --- a/content/common/gpu/gpu_channel.cc
|
| +++ b/content/common/gpu/gpu_channel.cc
|
| @@ -196,7 +196,7 @@ bool GpuChannel::Init(base::MessageLoopProxy* io_message_loop,
|
| gpu_channel_manager_->sync_point_manager(),
|
| base::MessageLoopProxy::current(),
|
| unprocessed_messages_));
|
| - channel_->AddFilter(filter);
|
| + channel_->AddFilter(filter.get());
|
|
|
| return true;
|
| }
|
| @@ -326,8 +326,8 @@ void GpuChannel::CreateViewCommandBuffer(
|
| this,
|
| share_group,
|
| window,
|
| - mailbox_manager_,
|
| - image_manager_,
|
| + mailbox_manager_.get(),
|
| + image_manager_.get(),
|
| gfx::Size(),
|
| disallowed_features_,
|
| init_params.allowed_extensions,
|
| @@ -366,7 +366,7 @@ void GpuChannel::CreateImage(
|
| }
|
|
|
| scoped_refptr<gfx::GLImage> image = gfx::GLImage::CreateGLImage(window);
|
| - if (!image)
|
| + if (!image.get())
|
| return;
|
|
|
| image_manager_->AddImage(image.get(), image_id);
|
|
|