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

Unified Diff: ui/gl/gl_context_android.cc

Issue 903273002: Update from https://crrev.com/315085 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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.cc ('k') | ui/gl/gl_fence.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 76b9238204099eed499cff239b6f7f6a0de0e5dc..9d3c86cf4b5cfa6ea258c18c50ea803f3b2b4aa5 100644
--- a/ui/gl/gl_context_android.cc
+++ b/ui/gl/gl_context_android.cc
@@ -26,18 +26,18 @@ class GLNonOwnedContext : public GLContextReal {
GLNonOwnedContext(GLShareGroup* share_group);
// Implement GLContext.
- virtual bool Initialize(GLSurface* compatible_surface,
- GpuPreference gpu_preference) override;
- virtual void Destroy() override {}
- virtual bool MakeCurrent(GLSurface* surface) override;
- virtual void ReleaseCurrent(GLSurface* surface) override {}
- virtual bool IsCurrent(GLSurface* surface) override { return true; }
- virtual void* GetHandle() override { return NULL; }
- virtual void OnSetSwapInterval(int interval) override {}
- virtual std::string GetExtensions() override;
+ 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; }
+ void* GetHandle() override { return NULL; }
+ void OnSetSwapInterval(int interval) override {}
+ std::string GetExtensions() override;
protected:
- virtual ~GLNonOwnedContext() {}
+ ~GLNonOwnedContext() override {}
private:
DISALLOW_COPY_AND_ASSIGN(GLNonOwnedContext);
« no previous file with comments | « ui/gl/gl_context.cc ('k') | ui/gl/gl_fence.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698