Update RenderFrameMetadataProvider creation time
RenderFrameMetadataProvider(RFMP) is not available until calling RWHI::RequestCompositorFrameSink, that is no observer can be added before that point, which may not be convenient for all observers. In this patch, RenderFrameMetadataProvider will be created in RenderWidgetHostImpl constructor and the ready to receive and send information after calling RequestCompositorFrameSink. For Example: RenderWidgetHostViewAura is created and start to observe changes in RFM before calling RWHI::RequestCompositorFrameSink. Bug: 716911 Change-Id: Icac9d5ff44a24b2a828bb7946202917f79c93147 Reviewed-on: https://chromium-review.googlesource.com/952200 Commit-Queue: Yi Xu <yiyix@chromium.org> Reviewed-by:Fady Samuel <fsamuel@chromium.org> Reviewed-by:
Jonathan Ross <jonross@chromium.org> Cr-Commit-Position: refs/heads/master@{#541645}
Showing
Please register or sign in to comment