Index: content/renderer/gpu/command_buffer_proxy.cc |
diff --git a/content/renderer/gpu/command_buffer_proxy.cc b/content/renderer/gpu/command_buffer_proxy.cc |
index 1caeb5a1fd84a0a89c3f2fcd3a8455f460d7e1c6..e80b776046c23ac79f78b0466bcfd5a090c32288 100644 |
--- a/content/renderer/gpu/command_buffer_proxy.cc |
+++ b/content/renderer/gpu/command_buffer_proxy.cc |
@@ -401,7 +401,7 @@ CommandBufferProxy::CreateVideoDecoder( |
decoder_route_id, decoder_host)).second; |
DCHECK(inserted); |
- channel_->AddRoute(decoder_route_id, decoder_host.get()); |
+ channel_->AddRoute(decoder_route_id, decoder_host->AsWeakPtr()); |
return decoder_host; |
} |