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

Unified Diff: mojo/gles2/gles2_context.cc

Issue 772523004: Move code in //services/gles2 into namespace gles2 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « mojo/gles2/gles2_context.h ('k') | mojo/gles2/gles2_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/gles2/gles2_context.cc
diff --git a/mojo/gles2/gles2_context.cc b/mojo/gles2/gles2_context.cc
index 2e23e86cda1e448bfd7e2e46cdf1a7224edf1df5..7334c64a9e10f4b6fe023c5402c2973bbf97648b 100644
--- a/mojo/gles2/gles2_context.cc
+++ b/mojo/gles2/gles2_context.cc
@@ -10,7 +10,6 @@
#include "mojo/public/c/gles2/gles2.h"
#include "mojo/public/cpp/system/core.h"
-namespace mojo {
namespace gles2 {
namespace {
@@ -21,12 +20,13 @@ const size_t kDefaultMaxTransferBufferSize = 16 * 1024 * 1024;
}
GLES2Context::GLES2Context(const MojoAsyncWaiter* async_waiter,
- ScopedMessagePipeHandle command_buffer_handle,
+ mojo::ScopedMessagePipeHandle command_buffer_handle,
MojoGLES2ContextLost lost_callback,
void* closure)
: command_buffer_(this, async_waiter, command_buffer_handle.Pass()),
lost_callback_(lost_callback),
- closure_(closure) {}
+ closure_(closure) {
+}
GLES2Context::~GLES2Context() {}
@@ -62,4 +62,3 @@ bool GLES2Context::Initialize() {
void GLES2Context::ContextLost() { lost_callback_(closure_); }
} // namespace gles2
-} // namespace mojo
« no previous file with comments | « mojo/gles2/gles2_context.h ('k') | mojo/gles2/gles2_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698