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

Unified Diff: third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.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: third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h
diff --git a/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h b/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h
index 1964f06ef990c114c9fc4b6ed40c103241d46676..cda655c85270518a04a320c7ef59359229e8d206 100644
--- a/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h
+++ b/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h
@@ -12,7 +12,7 @@
#include <memory>
namespace cc {
-class LayerTreeHost;
+class LayerTreeHostInterface;
class LayerTreeSettings;
}
@@ -32,7 +32,7 @@ public:
~WebLayerTreeViewImplForTesting() override;
static cc::LayerTreeSettings defaultLayerTreeSettings();
- cc::LayerTreeHost* layerTreeHost() { return m_layerTreeHost.get(); }
+ cc::LayerTreeHostInterface* layerTreeHost() { return m_layerTreeHost.get(); }
bool hasLayer(const WebLayer&);
// blink::WebLayerTreeView implementation.
@@ -99,7 +99,7 @@ public:
private:
cc::TestTaskGraphRunner m_taskGraphRunner;
- std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost;
+ std::unique_ptr<cc::LayerTreeHostInterface> m_layerTreeHost;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698