Index: content/browser/renderer_host/image_transport_factory_android.cc |
diff --git a/content/browser/renderer_host/image_transport_factory_android.cc b/content/browser/renderer_host/image_transport_factory_android.cc |
index c1ea043c00287e0e808950a3daddfd4dc7512654..204869a6f31ba38c8890b1f1fca72c8abddf9904 100644 |
--- a/content/browser/renderer_host/image_transport_factory_android.cc |
+++ b/content/browser/renderer_host/image_transport_factory_android.cc |
@@ -58,7 +58,8 @@ DirectGLImageTransportFactory::DirectGLImageTransportFactory() { |
CreateViewContext(attrs, NULL); |
if (context_->makeContextCurrent()) |
context_->pushGroupMarkerEXT( |
- base::StringPrintf("DirectGLImageTransportFactory-%p", this).c_str()); |
+ base::StringPrintf("DirectGLImageTransportFactory-%p", |
+ context_.get()).c_str()); |
} |
DirectGLImageTransportFactory::~DirectGLImageTransportFactory() { |
@@ -116,7 +117,8 @@ CmdBufferImageTransportFactory::CmdBufferImageTransportFactory() { |
if (context_->makeContextCurrent()) |
context_->pushGroupMarkerEXT( |
- base::StringPrintf("CmdBufferImageTransportFactory-%p", this).c_str()); |
+ base::StringPrintf("CmdBufferImageTransportFactory-%p", |
+ context_.get()).c_str()); |
} |
CmdBufferImageTransportFactory::~CmdBufferImageTransportFactory() { |