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

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: 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
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 c98718aceb0f8550e9a807f83aec2a43220d71e2..c11fe0d6b23686bab57e25daf05a66b3c17fe8e0 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), 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
« no previous file with comments | « components/mus/surfaces/surfaces_context_provider.h ('k') | components/mus/surfaces/surfaces_context_provider_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698