Index: cc/resources/prioritized_resource_unittest.cc |
diff --git a/cc/resources/prioritized_resource_unittest.cc b/cc/resources/prioritized_resource_unittest.cc |
index cd1221f6e6bcb693eace0eef7520d8272a20644b..0e0f32bff8e385c5ec7c1994f921e306cd978044 100644 |
--- a/cc/resources/prioritized_resource_unittest.cc |
+++ b/cc/resources/prioritized_resource_unittest.cc |
@@ -39,7 +39,7 @@ class PrioritizedResourceTest : public testing::Test { |
} |
size_t TexturesMemorySize(size_t texture_count) { |
- return Resource::MemorySizeBytes(texture_size_, texture_format_) * |
+ return Resource::UncheckedMemorySizeBytes(texture_size_, texture_format_) * |
texture_count; |
} |