Index: cc/trees/layer_tree_host_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
index 6b45ae409c6c2a76ea4e221edf8b9ac501fe85aa..e38cc0315adfb7db6816d485a3b401e38bafc914 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -4495,7 +4495,7 @@ class BlendStateCheckLayer : public LayerImpl { |
gfx::Rect quad_rect_; |
gfx::Rect opaque_content_rect_; |
gfx::Rect quad_visible_rect_; |
- ResourceProvider::ResourceId resource_id_; |
+ ResourceId resource_id_; |
}; |
TEST_F(LayerTreeHostImplTest, BlendingOffWhenDrawingOpaqueLayers) { |
@@ -5682,7 +5682,7 @@ class FakeMaskLayerImpl : public LayerImpl { |
return make_scoped_ptr(new FakeMaskLayerImpl(tree_impl, id)); |
} |
- void GetContentsResourceId(ResourceProvider::ResourceId* resource_id, |
+ void GetContentsResourceId(ResourceId* resource_id, |
gfx::Size* resource_size) const override { |
*resource_id = 0; |
} |
@@ -6032,16 +6032,14 @@ TEST_F(LayerTreeHostImplTest, UIResourceManagement) { |
UIResourceBitmap bitmap(gfx::Size(1, 1), is_opaque); |
host_impl_->CreateUIResource(ui_resource_id, bitmap); |
EXPECT_EQ(1u, context3d->NumTextures()); |
- ResourceProvider::ResourceId id1 = |
- host_impl_->ResourceIdForUIResource(ui_resource_id); |
+ ResourceId id1 = host_impl_->ResourceIdForUIResource(ui_resource_id); |
EXPECT_NE(0u, id1); |
// Multiple requests with the same id is allowed. The previous texture is |
// deleted. |
host_impl_->CreateUIResource(ui_resource_id, bitmap); |
EXPECT_EQ(1u, context3d->NumTextures()); |
- ResourceProvider::ResourceId id2 = |
- host_impl_->ResourceIdForUIResource(ui_resource_id); |
+ ResourceId id2 = host_impl_->ResourceIdForUIResource(ui_resource_id); |
EXPECT_NE(0u, id2); |
EXPECT_NE(id1, id2); |
@@ -6084,8 +6082,7 @@ TEST_F(LayerTreeHostImplTest, CreateETC1UIResource) { |
UIResourceId ui_resource_id = 1; |
host_impl_->CreateUIResource(ui_resource_id, bitmap); |
EXPECT_EQ(1u, context3d->NumTextures()); |
- ResourceProvider::ResourceId id1 = |
- host_impl_->ResourceIdForUIResource(ui_resource_id); |
+ ResourceId id1 = host_impl_->ResourceIdForUIResource(ui_resource_id); |
EXPECT_NE(0u, id1); |
} |