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

Unified Diff: cc/test/fake_ui_resource_layer_tree_host_impl.cc

Issue 1144523003: Rename cc::ResourceProvider::ResourceId to cc::ResourceId and move it to its own file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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_ui_resource_layer_tree_host_impl.h ('k') | cc/test/render_pass_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_ui_resource_layer_tree_host_impl.cc
diff --git a/cc/test/fake_ui_resource_layer_tree_host_impl.cc b/cc/test/fake_ui_resource_layer_tree_host_impl.cc
index 3dbea527e4ceb830724a6fef9b3cf881c21a32f4..e48ef38072896a7befd02e47d65108c23b4f72a9 100644
--- a/cc/test/fake_ui_resource_layer_tree_host_impl.cc
+++ b/cc/test/fake_ui_resource_layer_tree_host_impl.cc
@@ -34,14 +34,13 @@ void FakeUIResourceLayerTreeHostImpl::CreateUIResource(
}
void FakeUIResourceLayerTreeHostImpl::DeleteUIResource(UIResourceId uid) {
- ResourceProvider::ResourceId id = ResourceIdForUIResource(uid);
+ ResourceId id = ResourceIdForUIResource(uid);
if (id)
fake_ui_resource_map_.erase(uid);
}
-ResourceProvider::ResourceId
- FakeUIResourceLayerTreeHostImpl::ResourceIdForUIResource(
- UIResourceId uid) const {
+ResourceId FakeUIResourceLayerTreeHostImpl::ResourceIdForUIResource(
+ UIResourceId uid) const {
UIResourceMap::const_iterator iter = fake_ui_resource_map_.find(uid);
if (iter != fake_ui_resource_map_.end())
return iter->second.resource_id;
« no previous file with comments | « cc/test/fake_ui_resource_layer_tree_host_impl.h ('k') | cc/test/render_pass_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698