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

Unified Diff: mojo/shell/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_impl.cc ('k') | services/gles2/command_buffer_driver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/context.cc
diff --git a/mojo/shell/context.cc b/mojo/shell/context.cc
index 0d2c30f8a1fee9d05ceda9d859473b287a4a64b2..c076ea9213ad6e767506ad4de3eb21f38a2708a3 100644
--- a/mojo/shell/context.cc
+++ b/mojo/shell/context.cc
@@ -131,7 +131,7 @@ class Context::NativeViewportApplicationLoader
public InterfaceFactory<NativeViewport>,
public InterfaceFactory<Gpu> {
public:
- NativeViewportApplicationLoader() : gpu_state_(new GpuImpl::State) {}
+ NativeViewportApplicationLoader() : gpu_state_(new gles2::GpuImpl::State) {}
virtual ~NativeViewportApplicationLoader() {}
private:
@@ -164,10 +164,10 @@ class Context::NativeViewportApplicationLoader
// InterfaceFactory<Gpu> implementation.
virtual void Create(ApplicationConnection* connection,
InterfaceRequest<Gpu> request) override {
- new GpuImpl(request.Pass(), gpu_state_);
+ new gles2::GpuImpl(request.Pass(), gpu_state_);
}
- scoped_refptr<GpuImpl::State> gpu_state_;
+ scoped_refptr<gles2::GpuImpl::State> gpu_state_;
scoped_ptr<ApplicationImpl> app_;
DISALLOW_COPY_AND_ASSIGN(NativeViewportApplicationLoader);
};
« no previous file with comments | « mojo/gles2/gles2_impl.cc ('k') | services/gles2/command_buffer_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698