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

Unified Diff: components/mus/surfaces/surfaces_context_provider.cc

Issue 1340983002: Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated all the namespaces in mus 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
Index: components/mus/surfaces/surfaces_context_provider.cc
diff --git a/components/mus/surfaces/surfaces_context_provider.cc b/components/mus/surfaces/surfaces_context_provider.cc
index 0a350def57bf13fde9ade9c138769f62115f441f..9f0d55dcc4a591ea2f6ee6ea50c99be8f5129441 100644
--- a/components/mus/surfaces/surfaces_context_provider.cc
+++ b/components/mus/surfaces/surfaces_context_provider.cc
@@ -16,7 +16,7 @@
#include "gpu/command_buffer/client/gles2_implementation.h"
#include "gpu/command_buffer/client/transfer_buffer.h"
-namespace surfaces {
+namespace mus {
namespace {
const size_t kDefaultCommandBufferSize = 1024 * 1024;
@@ -28,11 +28,10 @@ const size_t kDefaultMaxTransferBufferSize = 16 * 1024 * 1024;
SurfacesContextProvider::SurfacesContextProvider(
SurfacesContextProviderDelegate* delegate,
gfx::AcceleratedWidget widget,
- const scoped_refptr<gles2::GpuState>& state)
+ const scoped_refptr<GpuState>& state)
: delegate_(delegate), state_(state), widget_(widget) {
capabilities_.gpu.image = true;
- command_buffer_local_.reset(
- new gles2::CommandBufferLocal(this, widget_, state_));
+ command_buffer_local_.reset(new CommandBufferLocal(this, widget_, state_));
}
// This is called when we have an accelerated widget.
@@ -116,4 +115,4 @@ void SurfacesContextProvider::DidLoseContext() {
lost_context_callback_.Run();
}
-} // namespace surfaces
+} // namespace mus

Powered by Google App Engine
This is Rietveld 408576698