| Index: content/browser/renderer_host/delegated_frame_host.h
|
| diff --git a/content/browser/renderer_host/delegated_frame_host.h b/content/browser/renderer_host/delegated_frame_host.h
|
| index 3ac90e8045915af82e50b9d549509d0b54b2b28e..a795eadd901d3f0af3f2985761324afb332b605d 100644
|
| --- a/content/browser/renderer_host/delegated_frame_host.h
|
| +++ b/content/browser/renderer_host/delegated_frame_host.h
|
| @@ -14,9 +14,9 @@
|
| #include "cc/output/copy_output_result.h"
|
| #include "cc/scheduler/begin_frame_source.h"
|
| #include "cc/surfaces/compositor_frame_sink_support_client.h"
|
| +#include "components/viz/frame_sinks/frame_evictor.h"
|
| #include "content/browser/compositor/image_transport_factory.h"
|
| #include "content/browser/compositor/owned_mailbox.h"
|
| -#include "content/browser/renderer_host/delegated_frame_evictor.h"
|
| #include "content/browser/renderer_host/dip_util.h"
|
| #include "content/browser/renderer_host/render_widget_host_impl.h"
|
| #include "content/browser/renderer_host/render_widget_host_view_base.h"
|
| @@ -82,7 +82,7 @@ class CONTENT_EXPORT DelegatedFrameHost
|
| : public ui::CompositorObserver,
|
| public ui::CompositorVSyncManager::Observer,
|
| public ui::ContextFactoryObserver,
|
| - public DelegatedFrameEvictorClient,
|
| + public viz::FrameEvictorClient,
|
| public NON_EXPORTED_BASE(cc::CompositorFrameSinkSupportClient),
|
| public base::SupportsWeakPtr<DelegatedFrameHost> {
|
| public:
|
| @@ -105,7 +105,7 @@ class CONTENT_EXPORT DelegatedFrameHost
|
| // ImageTransportFactoryObserver implementation.
|
| void OnLostResources() override;
|
|
|
| - // DelegatedFrameEvictorClient implementation.
|
| + // FrameEvictorClient implementation.
|
| void EvictDelegatedFrame() override;
|
|
|
| // cc::CompositorFrameSinkSupportClient implementation.
|
| @@ -324,7 +324,7 @@ class CONTENT_EXPORT DelegatedFrameHost
|
| cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink_ =
|
| nullptr;
|
|
|
| - std::unique_ptr<DelegatedFrameEvictor> delegated_frame_evictor_;
|
| + std::unique_ptr<viz::FrameEvictor> frame_evictor_;
|
| };
|
|
|
| } // namespace content
|
|
|