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

Unified Diff: ui/gl/gl_context_android.cc

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.h ('k') | ui/gl/gl_context_cgl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context_android.cc
diff --git a/ui/gl/gl_context_android.cc b/ui/gl/gl_context_android.cc
index 8786a0d4d5b9aa11db60738fbdf10ca981d76b68..ebf1dda6b13a8486e7f5c60acb74140da8a7e7ba 100644
--- a/ui/gl/gl_context_android.cc
+++ b/ui/gl/gl_context_android.cc
@@ -28,7 +28,6 @@ class GLNonOwnedContext : 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 { return true; }
@@ -40,9 +39,9 @@ class GLNonOwnedContext : public GLContextReal {
~GLNonOwnedContext() override {}
private:
- DISALLOW_COPY_AND_ASSIGN(GLNonOwnedContext);
-
EGLDisplay display_;
+
+ DISALLOW_COPY_AND_ASSIGN(GLNonOwnedContext);
};
GLNonOwnedContext::GLNonOwnedContext(GLShareGroup* share_group)
« no previous file with comments | « ui/gl/gl_context.h ('k') | ui/gl/gl_context_cgl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698