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

Unified Diff: gpu/command_buffer/service/gl_context_virtual.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 | « no previous file | ui/gl/gl_api_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gl_context_virtual.h
diff --git a/gpu/command_buffer/service/gl_context_virtual.h b/gpu/command_buffer/service/gl_context_virtual.h
index 1d82d5ac784287faae16c0345bf39216939dde09..74e56ad2fe36480de186f9324cdaf79d2c17dcbd 100644
--- a/gpu/command_buffer/service/gl_context_virtual.h
+++ b/gpu/command_buffer/service/gl_context_virtual.h
@@ -34,7 +34,6 @@ class GPU_EXPORT GLContextVirtual : public gfx::GLContext {
// Implement GLContext.
bool Initialize(gfx::GLSurface* compatible_surface,
gfx::GpuPreference gpu_preference) override;
- void Destroy() override;
bool MakeCurrent(gfx::GLSurface* surface) override;
void ReleaseCurrent(gfx::GLSurface* surface) override;
bool IsCurrent(gfx::GLSurface* surface) override;
@@ -53,6 +52,8 @@ class GPU_EXPORT GLContextVirtual : public gfx::GLContext {
~GLContextVirtual() override;
private:
+ void Destroy();
+
scoped_refptr<gfx::GLContext> shared_context_;
base::WeakPtr<gles2::GLES2Decoder> decoder_;
« no previous file with comments | « no previous file | ui/gl/gl_api_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698