Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10375)

Unified Diff: chrome/gpu/gpu_backing_store_glx_context.cc

Issue 2804042: Incomplete changes to make scoped_ptr_malloc use plain functions. (Closed)
Patch Set: chrome now builds & links Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/sqlite_utils.h ('k') | chrome/gpu/x_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/common/sqlite_utils.h ('k') | chrome/gpu/x_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698