| 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 faa46b71db8c7a848b3176473757046ba0960cce..12ef0a426c0aba59916210e4002c6057089b76e0 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"
|
| @@ -86,7 +86,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:
|
| @@ -108,7 +108,7 @@ class CONTENT_EXPORT DelegatedFrameHost
|
| // ImageTransportFactoryObserver implementation.
|
| void OnLostResources() override;
|
|
|
| - // DelegatedFrameEvictorClient implementation.
|
| + // FrameEvictorClient implementation.
|
| void EvictDelegatedFrame() override;
|
|
|
| // cc::CompositorFrameSinkSupportClient implementation.
|
| @@ -323,7 +323,7 @@ class CONTENT_EXPORT DelegatedFrameHost
|
|
|
| bool has_frame_ = false;
|
|
|
| - std::unique_ptr<DelegatedFrameEvictor> delegated_frame_evictor_;
|
| + std::unique_ptr<viz::FrameEvictor> frame_evictor_;
|
| };
|
|
|
| } // namespace content
|
|
|