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

Unified Diff: mojo/aura/context_factory_mojo.cc

Issue 272323003: Mojo: Implement support for |Foo&| mojom syntax (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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
« no previous file with comments | « mojo/aura/context_factory_mojo.h ('k') | mojo/aura/window_tree_host_mojo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/aura/context_factory_mojo.cc
diff --git a/mojo/aura/context_factory_mojo.cc b/mojo/aura/context_factory_mojo.cc
index 3edee0b387a8051102d2842c853f2b0ee8083be8..a95cc2516506acf326dc5cc8d6a8edf4d39acb4d 100644
--- a/mojo/aura/context_factory_mojo.cc
+++ b/mojo/aura/context_factory_mojo.cc
@@ -16,8 +16,9 @@
namespace mojo {
-ContextFactoryMojo::ContextFactoryMojo(ScopedMessagePipeHandle gles2_handle)
- : gles2_handle_(gles2_handle.Pass()) {
+ContextFactoryMojo::ContextFactoryMojo(
+ ScopedMessagePipeHandle command_buffer_handle)
+ : command_buffer_handle_(command_buffer_handle.Pass()) {
}
ContextFactoryMojo::~ContextFactoryMojo() {
@@ -25,8 +26,9 @@ ContextFactoryMojo::~ContextFactoryMojo() {
scoped_ptr<cc::OutputSurface> ContextFactoryMojo::CreateOutputSurface(
ui::Compositor* compositor, bool software_fallback) {
- return make_scoped_ptr(new cc::OutputSurface(
- new ContextProviderMojo(gles2_handle_.Pass())));
+ return make_scoped_ptr(
+ new cc::OutputSurface(
+ new ContextProviderMojo(command_buffer_handle_.Pass())));
}
scoped_refptr<ui::Reflector> ContextFactoryMojo::CreateReflector(
« no previous file with comments | « mojo/aura/context_factory_mojo.h ('k') | mojo/aura/window_tree_host_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698