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

Unified Diff: services/native_viewport/main.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 | « services/gles2/mojo_buffer_backing.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/native_viewport/main.cc
diff --git a/services/native_viewport/main.cc b/services/native_viewport/main.cc
index f0030700e89df293e9322774beb4ea3d53bc28d5..d639077364ec29a0768c6fde096e425c23519540 100644
--- a/services/native_viewport/main.cc
+++ b/services/native_viewport/main.cc
@@ -60,12 +60,12 @@ class NativeViewportAppDelegate
void Create(ApplicationConnection* connection,
InterfaceRequest<Gpu> request) override {
if (!gpu_state_.get())
- gpu_state_ = new GpuImpl::State;
- new GpuImpl(request.Pass(), gpu_state_);
+ gpu_state_ = new gles2::GpuImpl::State;
+ new gles2::GpuImpl(request.Pass(), gpu_state_);
}
ApplicationImpl* app_;
- scoped_refptr<GpuImpl::State> gpu_state_;
+ scoped_refptr<gles2::GpuImpl::State> gpu_state_;
bool is_headless_;
DISALLOW_COPY_AND_ASSIGN(NativeViewportAppDelegate);
};
« no previous file with comments | « services/gles2/mojo_buffer_backing.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698