Index: cc/raster/tile_task_worker_pool_unittest.cc |
diff --git a/cc/raster/tile_task_worker_pool_unittest.cc b/cc/raster/tile_task_worker_pool_unittest.cc |
index 76e5fe4d56ffacbcf2b3f0a32552f6d9ba6287df..fa36474c3b977792b4ebb4d5609fffa3db801510 100644 |
--- a/cc/raster/tile_task_worker_pool_unittest.cc |
+++ b/cc/raster/tile_task_worker_pool_unittest.cc |
@@ -406,8 +406,8 @@ TEST_P(TileTaskWorkerPoolTest, LargeResources) { |
ScopedResource::Create(resource_provider_.get())); |
resource->Allocate(size, ResourceProvider::TEXTURE_HINT_IMMUTABLE, |
RGBA_8888); |
- EXPECT_GE(Resource::UncheckedMemorySizeBytes(resource->size(), |
- resource->format()), |
+ EXPECT_GE(ResourceUtil::UncheckedSizeInBytes<size_t>(resource->size(), |
+ resource->format()), |
kMaxTransferBufferUsageBytes); |
} |