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

Unified Diff: ui/gl/gl_context_osmesa.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_glx.h ('k') | ui/gl/gl_context_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context_osmesa.h
diff --git a/ui/gl/gl_context_osmesa.h b/ui/gl/gl_context_osmesa.h
index dc82ad331c6a489e1c4570cce91074afecc1ecb7..597e0143683a13d688d153a2c0ebfc35aa283e6f 100644
--- a/ui/gl/gl_context_osmesa.h
+++ b/ui/gl/gl_context_osmesa.h
@@ -24,7 +24,6 @@ class GLContextOSMesa : 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;
@@ -35,6 +34,8 @@ class GLContextOSMesa : public GLContextReal {
~GLContextOSMesa() override;
private:
+ void Destroy();
+
OSMesaContext context_;
bool is_released_;
« no previous file with comments | « ui/gl/gl_context_glx.h ('k') | ui/gl/gl_context_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698