Index: ui/android/delegated_frame_host_android.h |
diff --git a/ui/android/delegated_frame_host_android.h b/ui/android/delegated_frame_host_android.h |
index 2e3ba78348fddd58e0501aa780385ff63a8f804a..c8d9b2ce0cd3db921ccec41116d60fe084696b1e 100644 |
--- a/ui/android/delegated_frame_host_android.h |
+++ b/ui/android/delegated_frame_host_android.h |
@@ -69,8 +69,8 @@ class UI_ANDROID_EXPORT DelegatedFrameHostAndroid |
// Called when this DFH is attached/detached from a parent browser compositor |
// and needs to be attached to the surface hierarchy. |
- void RegisterFrameSinkHierarchy(const cc::FrameSinkId& parent_id); |
- void UnregisterFrameSinkHierarchy(); |
+ void AttachToCompositor(WindowAndroidCompositor* compositor); |
+ void DetachFromCompositor(); |
private: |
// cc::SurfaceFactoryClient implementation. |
@@ -85,7 +85,7 @@ class UI_ANDROID_EXPORT DelegatedFrameHostAndroid |
cc::SurfaceManager* surface_manager_; |
std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_; |
- cc::FrameSinkId registered_parent_frame_sink_id_; |
+ WindowAndroidCompositor* parent_compositor_impl_; |
Client* client_; |
std::unique_ptr<cc::SurfaceFactory> surface_factory_; |