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..cb41bf6fc8a978ba0a359abc40168766a5d705d6 100644 |
--- a/cc/resources/scoped_resource_unittest.cc |
+++ b/cc/resources/scoped_resource_unittest.cc |
@@ -31,8 +31,8 @@ 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(), |
- texture->format())); |
+ EXPECT_EQ(0u, ResourceUtil::UncheckedSizeInBytes<size_t>(texture->size(), |
+ texture->format())); |
} |
TEST(ScopedResourceTest, CreateScopedResource) { |
@@ -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<size_t>( |
texture->size(), texture->format())); |
EXPECT_LT(0u, texture->id()); |