| Index: cc/resources/scoped_resource_unittest.cc
|
| diff --git a/cc/resources/scoped_resource_unittest.cc b/cc/resources/scoped_resource_unittest.cc
|
| index 197fa1f3b8d9e96687f9d84262b7c7265423da2f..cf416ed759eaea72b7ba2581160d770f0fac7a07 100644
|
| --- a/cc/resources/scoped_resource_unittest.cc
|
| +++ b/cc/resources/scoped_resource_unittest.cc
|
| @@ -31,7 +31,7 @@ TEST(ScopedResourceTest, NewScopedResource) {
|
|
|
| // New scoped textures do not have a size yet.
|
| EXPECT_EQ(gfx::Size(), texture->size());
|
| - EXPECT_EQ(0u, Resource::UncheckedMemorySizeBytes(texture->size(),
|
| + EXPECT_EQ(0u, ResourceUtil::UncheckedSizeInBytes(texture->size(),
|
| texture->format()));
|
| }
|
|
|
| @@ -51,7 +51,7 @@ TEST(ScopedResourceTest, CreateScopedResource) {
|
|
|
| // The texture has an allocated byte-size now.
|
| size_t expected_bytes = 30 * 30 * 4;
|
| - EXPECT_EQ(expected_bytes, Resource::UncheckedMemorySizeBytes(
|
| + EXPECT_EQ(expected_bytes, ResourceUtil::UncheckedSizeInBytes(
|
| texture->size(), texture->format()));
|
|
|
| EXPECT_LT(0u, texture->id());
|
|
|