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

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

Issue 2589663003: mojo:: Rename mojo::GetProxy() to mojo::MakeRequest() (Closed)
Patch Set: Rebase 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/ws/gpu_host.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/server_window_compositor_frame_sink_manager.cc
diff --git a/services/ui/ws/server_window_compositor_frame_sink_manager.cc b/services/ui/ws/server_window_compositor_frame_sink_manager.cc
index 51091085e78f7173968a0d00ce72a8d85a6461ec..0b064226c46ca20b21351f67c967334772ec132d 100644
--- a/services/ui/ws/server_window_compositor_frame_sink_manager.cc
+++ b/services/ui/ws/server_window_compositor_frame_sink_manager.cc
@@ -64,7 +64,7 @@ void ServerWindowCompositorFrameSinkManager::AddChildFrameSinkId(
CompositorFrameSinkData& data =
type_to_compositor_frame_sink_map_[compositor_frame_sink_type];
data.pending_compositor_frame_sink_request =
- mojo::GetProxy(&data.compositor_frame_sink);
+ mojo::MakeRequest(&data.compositor_frame_sink);
data.compositor_frame_sink->AddChildFrameSink(frame_sink_id);
}
@@ -158,7 +158,7 @@ void ServerWindowCompositorFrameSinkManager::CreateCompositorFrameSinkInternal(
if (data.pending_compositor_frame_sink_request.is_pending()) {
private_request = std::move(data.pending_compositor_frame_sink_request);
} else {
- private_request = mojo::GetProxy(&data.compositor_frame_sink);
+ private_request = mojo::MakeRequest(&data.compositor_frame_sink);
}
if (widget != gfx::kNullAcceleratedWidget) {
« no previous file with comments | « services/ui/ws/gpu_host.cc ('k') | services/ui/ws/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698