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

Unified Diff: mojo/examples/sample_app/native_viewport_client_impl.cc

Issue 101413002: [Mojo] Remove dependency between mojo/public and gpu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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/examples/sample_app/native_viewport_client_impl.h ('k') | mojo/examples/sample_app/sample_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/sample_app/native_viewport_client_impl.cc
diff --git a/mojo/examples/sample_app/native_viewport_client_impl.cc b/mojo/examples/sample_app/native_viewport_client_impl.cc
index 6f109902262d77737fded793c30ebbaf9fc98446..5d70df196d7a26f7b9bf19bdaf88366cc907a653 100644
--- a/mojo/examples/sample_app/native_viewport_client_impl.cc
+++ b/mojo/examples/sample_app/native_viewport_client_impl.cc
@@ -6,8 +6,6 @@
#include <stdio.h>
-#include "mojo/public/bindings/gles2_client/gles2_client_impl.h"
-
namespace mojo {
namespace examples {
@@ -27,7 +25,7 @@ void NativeViewportClientImpl::Open() {
ScopedMessagePipeHandle gles2_client;
CreateMessagePipe(&gles2, &gles2_client);
- gles2_client_.reset(new GLES2ClientImpl(&gles2_delegate_, gles2.Pass()));
+ gles2_client_.reset(new GLES2ClientImpl(gles2.Pass()));
service_->CreateGLES2Context(gles2_client.release());
}
« no previous file with comments | « mojo/examples/sample_app/native_viewport_client_impl.h ('k') | mojo/examples/sample_app/sample_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698