Index: chrome/gpu/gpu_backing_store_glx_context.cc |
diff --git a/chrome/gpu/gpu_backing_store_glx_context.cc b/chrome/gpu/gpu_backing_store_glx_context.cc |
index ea70651e218e7bdf96a95305fe0b1e3111e5f1cf..6c8dc56b4b73340ccbf43f0cc39389effb4ae368 100644 |
--- a/chrome/gpu/gpu_backing_store_glx_context.cc |
+++ b/chrome/gpu/gpu_backing_store_glx_context.cc |
@@ -52,7 +52,7 @@ GLXContext GpuBackingStoreGLXContext::BindContext(XID window_id) { |
tried_to_init_ = true; |
int attrib_list[] = { GLX_RGBA, GLX_DOUBLEBUFFER, 0 }; |
- scoped_ptr_malloc<XVisualInfo, ScopedPtrXFree> visual_info( |
+ scoped_ptr_malloc<XVisualInfo, FreeFnAdapterIgnoreReturn< ::XFree> > visual_info( |
glXChooseVisual(gpu_thread_->display(), 0, attrib_list)); |
if (!visual_info.get()) |
return NULL; |