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

Unified Diff: cc/test/fake_scoped_ui_resource.h

Issue 2322943003: cc: Move UI Resource management out of LayerTreeHost. (Closed)
Patch Set: virtual dtor 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
« no previous file with comments | « cc/test/fake_layer_tree_host.h ('k') | cc/test/fake_scoped_ui_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_scoped_ui_resource.h
diff --git a/cc/test/fake_scoped_ui_resource.h b/cc/test/fake_scoped_ui_resource.h
index 54258b33c4eae3863fb56d292ea4ff8d48dde9d0..ae826402bb7ad6c9e1f24d0bf65a6c6ee01c83d0 100644
--- a/cc/test/fake_scoped_ui_resource.h
+++ b/cc/test/fake_scoped_ui_resource.h
@@ -14,7 +14,8 @@ class LayerTreeHost;
class FakeScopedUIResource : public ScopedUIResource {
public:
- static std::unique_ptr<FakeScopedUIResource> Create(LayerTreeHost* host);
+ static std::unique_ptr<FakeScopedUIResource> Create(
+ UIResourceManager* ui_resource_manager);
UIResourceBitmap GetBitmap(UIResourceId uid, bool resource_lost) override;
void DeleteResource();
@@ -24,7 +25,7 @@ class FakeScopedUIResource : public ScopedUIResource {
int lost_resource_count;
private:
- explicit FakeScopedUIResource(LayerTreeHost* host);
+ explicit FakeScopedUIResource(UIResourceManager* ui_resource_manager);
};
} // namespace cc
« no previous file with comments | « cc/test/fake_layer_tree_host.h ('k') | cc/test/fake_scoped_ui_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698