• yiyix's avatar
    Update RenderFrameMetadataProvider creation time · f27d6cae
    yiyix authored
    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: default avatarFady Samuel <fsamuel@chromium.org>
    Reviewed-by: default avatarJonathan Ross <jonross@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#541645}
    f27d6cae
render_widget_host_impl.h 45.5 KB