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

Unified Diff: chrome/gpu/x_util.h

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/gpu/gpu_backing_store_glx_context.cc ('k') | chrome/gpu/x_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/gpu/x_util.h
diff --git a/chrome/gpu/x_util.h b/chrome/gpu/x_util.h
index 512b232756a9728270621fbdb71ca039ea4f2189..135d85cff3eb8c69dc25f0faec90a0e47f9ed59f 100644
--- a/chrome/gpu/x_util.h
+++ b/chrome/gpu/x_util.h
@@ -33,14 +33,6 @@ typedef struct __GLXcontextRec *GLXContext;
// Utils -----------------------------------------------------------------------
-// scoped_ptr functor for XFree(). Use as follows:
-// scoped_ptr_mallox<XVisualInfo, ScopedPtrXFree> foo(...);
-// where "XVisualInfo" is any X type that is freed with XFree.
-class ScopedPtrXFree {
- public:
- void operator()(void* x) const;
-};
-
#endif // OS_LINUX
#endif // CHROME_GPU_X_UTIL_H_
« no previous file with comments | « chrome/gpu/gpu_backing_store_glx_context.cc ('k') | chrome/gpu/x_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698