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

Unified Diff: mojo/gpu/gl_context.h

Issue 1682113003: Mojo C++ bindings: Generate InterfaceHandle<> instead of InterfacePtr<>. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase ontop of master, address trung's comments Created 4 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 | « mojo/gles2/command_buffer_client_impl.cc ('k') | mojo/gpu/gl_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/gpu/gl_context.h
diff --git a/mojo/gpu/gl_context.h b/mojo/gpu/gl_context.h
index a557fdb83c666f6d28ffcbe6b2856986b6d3252a..8b0de9bd4fbcfa7b063df418e2e2c436863fbfd1 100644
--- a/mojo/gpu/gl_context.h
+++ b/mojo/gpu/gl_context.h
@@ -33,7 +33,7 @@ class GLContext {
// Creates a GL context from a command buffer.
static base::WeakPtr<GLContext> CreateFromCommandBuffer(
- CommandBufferPtr command_buffer);
+ InterfaceHandle<CommandBuffer> command_buffer);
void MakeCurrent();
bool IsCurrent();
@@ -43,7 +43,7 @@ class GLContext {
void RemoveObserver(Observer* observer);
private:
- explicit GLContext(CommandBufferPtr command_buffer);
+ explicit GLContext(InterfaceHandle<CommandBuffer> command_buffer);
~GLContext();
static void ContextLostThunk(void* self);
« no previous file with comments | « mojo/gles2/command_buffer_client_impl.cc ('k') | mojo/gpu/gl_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698