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

Unified Diff: content/common/gpu/x_util.h

Issue 989993002: x11: Use scoped_ptr<> for X11 objects where it makes sense. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 9 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 | « content/common/BUILD.gn ('k') | content/common/gpu/x_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/x_util.h
diff --git a/content/common/gpu/x_util.h b/content/common/gpu/x_util.h
index 6fff98158a06f8118ff7f543efc7ca86ade21f86..99687566356f88386158569d2dd3ff1afd99dce6 100644
--- a/content/common/gpu/x_util.h
+++ b/content/common/gpu/x_util.h
@@ -33,16 +33,6 @@ typedef struct __GLXcontextRec *GLXContext;
} // extern "C"
-// 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;
-};
-
} // namespace content
#endif // USE_X11
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/gpu/x_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698