Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: content/browser/renderer_host/delegated_frame_host.h

Issue 2811083002: Move frame eviction into components (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..72f13f775061d74964cc2731290cde47d85dce8f 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/display_compositor/delegated_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 display_compositor::DelegatedFrameEvictorClient,
public NON_EXPORTED_BASE(cc::CompositorFrameSinkSupportClient),
public base::SupportsWeakPtr<DelegatedFrameHost> {
public:
@@ -323,7 +323,8 @@ class CONTENT_EXPORT DelegatedFrameHost
bool has_frame_ = false;
- std::unique_ptr<DelegatedFrameEvictor> delegated_frame_evictor_;
+ std::unique_ptr<display_compositor::DelegatedFrameEvictor>
+ delegated_frame_evictor_;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698