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

Unified Diff: mojo/gpu/gl_context_owner.h

Issue 1532923003: Improve GL helpers. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-7
Patch Set: rebase Created 4 years, 11 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 | « mojo/gpu/gl_context.cc ('k') | mojo/gpu/gl_context_owner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/gpu/gl_context_owner.h
diff --git a/mojo/gpu/gl_context_owner.h b/mojo/gpu/gl_context_owner.h
index 872729a3391f19af8be4d50f257b71c2d31ae036..b25bd69aabbbcd09b46aaa3dfe009dc602183771 100644
--- a/mojo/gpu/gl_context_owner.h
+++ b/mojo/gpu/gl_context_owner.h
@@ -9,11 +9,13 @@
namespace mojo {
class GLContext;
+class ApplicationConnector;
class Shell;
class GLContextOwner {
public:
- explicit GLContextOwner(mojo::Shell* shell);
+ explicit GLContextOwner(ApplicationConnector* connector);
+
~GLContextOwner();
const base::WeakPtr<mojo::GLContext>& context() const { return context_; }
« no previous file with comments | « mojo/gpu/gl_context.cc ('k') | mojo/gpu/gl_context_owner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698