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

Unified Diff: components/exo/surface.cc

Issue 2592623002: mojo:: Introduce InterfaceRequest ctor that takes in InterfacePtr* (Closed)
Patch Set: Minor fix Created 4 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
Index: components/exo/surface.cc
diff --git a/components/exo/surface.cc b/components/exo/surface.cc
index 0f32435abe383919287edbf48cdc8155b038aa0f..6c811518935b3c3ac30a69eb16aaab2eeef55442 100644
--- a/components/exo/surface.cc
+++ b/components/exo/surface.cc
@@ -179,8 +179,8 @@ Surface::Surface()
->context_factory_private()
->AllocateFrameSinkId()) {
cc::mojom::MojoCompositorFrameSinkClientPtr frame_sink_holder_ptr;
- cc::mojom::MojoCompositorFrameSinkClientRequest frame_sink_client_request =
- mojo::MakeRequest(&frame_sink_holder_ptr);
+ cc::mojom::MojoCompositorFrameSinkClientRequest frame_sink_client_request(
+ &frame_sink_holder_ptr);
std::unique_ptr<CompositorFrameSink> frame_sink(new CompositorFrameSink(
frame_sink_id_,
aura::Env::GetInstance()->context_factory_private()->GetSurfaceManager(),

Powered by Google App Engine
This is Rietveld 408576698