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

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

Issue 2322943003: cc: Move UI Resource management out of LayerTreeHost. (Closed)
Patch Set: format Created 4 years, 3 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/compositor_impl_android.h
diff --git a/content/browser/renderer_host/compositor_impl_android.h b/content/browser/renderer_host/compositor_impl_android.h
index 6a71b7a46303e3f187e4674485e7039c4a4f2fda..ec279cb8871f0ed33018e0d417535743081c1be4 100644
--- a/content/browser/renderer_host/compositor_impl_android.h
+++ b/content/browser/renderer_host/compositor_impl_android.h
@@ -34,7 +34,7 @@ struct ANativeWindow;
namespace cc {
class Display;
class Layer;
-class LayerTreeHost;
+class LayerTreeHostInterface;
class SurfaceIdAllocator;
class SurfaceManager;
class VulkanContextProvider;
@@ -146,7 +146,7 @@ class CONTENT_EXPORT CompositorImpl
// Destruction order matters here:
std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_;
base::ObserverList<VSyncObserver, true> observer_list_;
- std::unique_ptr<cc::LayerTreeHost> host_;
+ std::unique_ptr<cc::LayerTreeHostInterface> host_;
ui::ResourceManagerImpl resource_manager_;
std::unique_ptr<cc::Display> display_;

Powered by Google App Engine
This is Rietveld 408576698