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

Unified Diff: ui/gl/gl_context_egl.h

Issue 1254383002: Remove GLContext::Destroy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit tests Created 5 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 | « ui/gl/gl_context_cgl.h ('k') | ui/gl/gl_context_glx.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context_egl.h
diff --git a/ui/gl/gl_context_egl.h b/ui/gl/gl_context_egl.h
index 39b26d0c319c26f4947ac5dd0e40d11e5b9ed56c..0d46723538e2291b1847a63d847cf495686ee014 100644
--- a/ui/gl/gl_context_egl.h
+++ b/ui/gl/gl_context_egl.h
@@ -26,7 +26,6 @@ class GLContextEGL : public GLContextReal {
// Implement GLContext.
bool Initialize(GLSurface* compatible_surface,
GpuPreference gpu_preference) override;
- void Destroy() override;
bool MakeCurrent(GLSurface* surface) override;
void ReleaseCurrent(GLSurface* surface) override;
bool IsCurrent(GLSurface* surface) override;
@@ -41,6 +40,8 @@ class GLContextEGL : public GLContextReal {
~GLContextEGL() override;
private:
+ void Destroy();
+
EGLContext context_;
EGLDisplay display_;
EGLConfig config_;
« no previous file with comments | « ui/gl/gl_context_cgl.h ('k') | ui/gl/gl_context_glx.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698