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 caa1de5414f662860f206ab04a0463d868c1c635..b6f5e0293eea01f88c1ed1cd2ceedbc2badb9250 100644 |
--- a/content/renderer/gpu/command_buffer_proxy.cc |
+++ b/content/renderer/gpu/command_buffer_proxy.cc |
@@ -408,7 +408,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; |
} |