Index: cc/tiles/tile.cc |
diff --git a/cc/tiles/tile.cc b/cc/tiles/tile.cc |
index 6052e5e0457e0f41cca41eab900166237f0bd6ee..ad50dd1c91f502d2033a3fabab00d482d3a06175 100644 |
--- a/cc/tiles/tile.cc |
+++ b/cc/tiles/tile.cc |
@@ -71,8 +71,8 @@ size_t Tile::GPUMemoryUsageInBytes() const { |
if (draw_info_.resource_) { |
// We can use UncheckedSizeInBytes, since the tile size is determined by the |
// compositor. |
- return Resource::UncheckedMemorySizeBytes(draw_info_.resource_->size(), |
- draw_info_.resource_->format()); |
+ return ResourceUtil::UncheckedSizeInBytes<size_t>( |
+ draw_info_.resource_->size(), draw_info_.resource_->format()); |
} |
return 0; |
} |