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

Unified Diff: mojo/gpu/gl_context_owner.h

Issue 1537783002: Improve GL helpers. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years 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
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..0ed8cdd794b24acb14baa70bef9e902ca06b23e4 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(mojo::ApplicationConnector* connector);
vtl 2015/12/17 22:30:35 nit (pre-existing condition): "mojo::" not necessa
jeffbrown 2015/12/17 22:33:23 Done.
+
~GLContextOwner();
const base::WeakPtr<mojo::GLContext>& context() const { return context_; }

Powered by Google App Engine
This is Rietveld 408576698