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

Unified Diff: ui/gl/gl_context_cgl.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_android.cc ('k') | ui/gl/gl_context_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context_cgl.h
diff --git a/ui/gl/gl_context_cgl.h b/ui/gl/gl_context_cgl.h
index 88813b39cc197b298ec4a34889a5fb003067aa8b..2c019988a23ba04136c1c57bb9c93f2c67cea256 100644
--- a/ui/gl/gl_context_cgl.h
+++ b/ui/gl/gl_context_cgl.h
@@ -21,7 +21,6 @@ class GLContextCGL : 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,7 @@ class GLContextCGL : public GLContextReal {
~GLContextCGL() override;
private:
+ void Destroy();
GpuPreference GetGpuPreference();
void* context_;
« no previous file with comments | « ui/gl/gl_context_android.cc ('k') | ui/gl/gl_context_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698