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

Unified Diff: services/ui/ws/frame_generator.cc

Issue 2592623002: mojo:: Introduce InterfaceRequest ctor that takes in InterfacePtr* (Closed)
Patch Set: Rebase + response to review 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
« no previous file with comments | « services/ui/gpu/gpu_main.cc ('k') | services/ui/ws/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/frame_generator.cc
diff --git a/services/ui/ws/frame_generator.cc b/services/ui/ws/frame_generator.cc
index c91684d5f3927e9913390cdee72f098d254a2762..81cdf556c9cda80804e7cf41856a923a1d62fa5d 100644
--- a/services/ui/ws/frame_generator.cc
+++ b/services/ui/ws/frame_generator.cc
@@ -41,8 +41,7 @@ FrameGenerator::~FrameGenerator() {
void FrameGenerator::OnAcceleratedWidgetAvailable(
gfx::AcceleratedWidget widget) {
DCHECK_NE(gfx::kNullAcceleratedWidget, widget);
- cc::mojom::MojoCompositorFrameSinkRequest request =
- mojo::MakeRequest(&compositor_frame_sink_);
+ cc::mojom::MojoCompositorFrameSinkRequest request(&compositor_frame_sink_);
root_window_->CreateDisplayCompositorFrameSink(
widget, std::move(request), binding_.CreateInterfacePtrAndBind());
// TODO(fsamuel): This means we're always requesting a new BeginFrame signal
« no previous file with comments | « services/ui/gpu/gpu_main.cc ('k') | services/ui/ws/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698