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

Unified Diff: components/mus/gles2/command_buffer_driver.cc

Issue 1340983002: Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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 | « components/mus/gles2/command_buffer_driver.h ('k') | components/mus/gles2/command_buffer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/gles2/command_buffer_driver.cc
diff --git a/components/mus/gles2/command_buffer_driver.cc b/components/mus/gles2/command_buffer_driver.cc
index 350f5121f522cf6229227fd7a9e5538d880e6093..97f88bd5df7e5eafb70d5580f81f89798ce2fa5c 100644
--- a/components/mus/gles2/command_buffer_driver.cc
+++ b/components/mus/gles2/command_buffer_driver.cc
@@ -32,7 +32,7 @@
#include "ui/gl/gl_image_shared_memory.h"
#include "ui/gl/gl_surface.h"
-namespace gles2 {
+namespace mus {
CommandBufferDriver::Client::~Client() {}
@@ -131,7 +131,7 @@ bool CommandBufferDriver::DoInitialize(
const size_t kSize = sizeof(gpu::CommandBufferSharedState);
scoped_ptr<gpu::BufferBacking> backing(
- gles2::MojoBufferBacking::Create(shared_state.Pass(), kSize));
+ MojoBufferBacking::Create(shared_state.Pass(), kSize));
if (!backing)
return false;
@@ -167,7 +167,7 @@ void CommandBufferDriver::RegisterTransferBuffer(
// Take ownership of the memory and map it into this process.
// This validates the size.
scoped_ptr<gpu::BufferBacking> backing(
- gles2::MojoBufferBacking::Create(transfer_buffer.Pass(), size));
+ MojoBufferBacking::Create(transfer_buffer.Pass(), size));
if (!backing) {
DVLOG(0) << "Failed to map shared memory.";
return;
@@ -302,4 +302,4 @@ void CommandBufferDriver::DestroyDecoder() {
}
}
-} // namespace gles2
+} // namespace mus
« no previous file with comments | « components/mus/gles2/command_buffer_driver.h ('k') | components/mus/gles2/command_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698