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

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

Issue 1351013002: Revert of Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 c11fe0d6b23686bab57e25daf05a66b3c17fe8e0..c98718aceb0f8550e9a807f83aec2a43220d71e2 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 mus {
+namespace surfaces {
namespace {
const size_t kDefaultCommandBufferSize = 1024 * 1024;
@@ -28,10 +28,11 @@
SurfacesContextProvider::SurfacesContextProvider(
SurfacesContextProviderDelegate* delegate,
gfx::AcceleratedWidget widget,
- const scoped_refptr<GpuState>& state)
+ const scoped_refptr<gles2::GpuState>& state)
: delegate_(delegate), widget_(widget) {
capabilities_.gpu.image = true;
- command_buffer_local_.reset(new CommandBufferLocal(this, widget_, state));
+ command_buffer_local_.reset(
+ new gles2::CommandBufferLocal(this, widget_, state));
}
// This is called when we have an accelerated widget.
@@ -115,4 +116,4 @@
lost_context_callback_.Run();
}
-} // namespace mus
+} // namespace surfaces
« 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