Index: services/ui/public/cpp/window_compositor_frame_sink.h |
diff --git a/services/ui/public/cpp/window_compositor_frame_sink.h b/services/ui/public/cpp/window_compositor_frame_sink.h |
index 9a8452e91f6fb483ba6392b7e42fa69d5ac5d021..17d5988d99d7ce650ac7d9eab2b03719563d1fa3 100644 |
--- a/services/ui/public/cpp/window_compositor_frame_sink.h |
+++ b/services/ui/public/cpp/window_compositor_frame_sink.h |
@@ -39,8 +39,6 @@ class WindowCompositorFrameSink |
void SubmitCompositorFrame(cc::CompositorFrame frame) override; |
private: |
- friend class Window; |
- |
WindowCompositorFrameSink( |
const cc::FrameSinkId& frame_sink_id, |
scoped_refptr<cc::ContextProvider> context_provider, |
@@ -74,7 +72,7 @@ class WindowCompositorFrameSink |
// A WindowCompositorFrameSinkBinding is a bundle of mojo interfaces that is |
// created by WindowCompositorFrameSink::Create and is used by or implemented by |
-// Mus when passed into Window::AttachCompositorFrameSink. |
+// Mus when a window is attached to a frame-sink.. |
// WindowCompositorFrameSinkBinding has no standalone functionality. Its purpose |
// is to allow safely creating and attaching a CompositorFrameSink on one |
// thread and using it on another. |
@@ -82,8 +80,10 @@ class WindowCompositorFrameSinkBinding { |
public: |
~WindowCompositorFrameSinkBinding(); |
+ cc::mojom::MojoCompositorFrameSinkRequest TakeFrameSinkRequest(); |
+ cc::mojom::MojoCompositorFrameSinkClientPtrInfo TakeFrameSinkClient(); |
+ |
private: |
- friend class Window; |
friend class WindowCompositorFrameSink; |
WindowCompositorFrameSinkBinding( |