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

Unified Diff: ui/gl/gl_context_cgl.h

Issue 15848005: Cleanup: Remove ScopedGenericObj. Use scoped_ptr<type, CustomDeleter> instead. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 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
Index: ui/gl/gl_context_cgl.h
===================================================================
--- ui/gl/gl_context_cgl.h (revision 202209)
+++ ui/gl/gl_context_cgl.h (working copy)
@@ -7,7 +7,6 @@
#include <OpenGL/CGLTypes.h>
-#include "base/memory/scoped_generic_obj.h"
#include "ui/gl/gl_context.h"
namespace gfx {
@@ -49,14 +48,6 @@
DISALLOW_COPY_AND_ASSIGN(GLContextCGL);
};
-class ScopedCGLDestroyRendererInfo {
- public:
- void operator()(CGLRendererInfoObj x) const;
-};
-
-typedef ScopedGenericObj<CGLRendererInfoObj, ScopedCGLDestroyRendererInfo>
- ScopedCGLRendererInfoObj;
-
} // namespace gfx
#endif // UI_GL_GL_CONTEXT_CGL_H_

Powered by Google App Engine
This is Rietveld 408576698