Index: cc/tiles/tile.cc |
diff --git a/cc/tiles/tile.cc b/cc/tiles/tile.cc |
index 6052e5e0457e0f41cca41eab900166237f0bd6ee..901db34d9ab2150c61c75d61dd9f3d4ee06fb512 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::UncheckedMemorySizeBytes( |
+ draw_info_.resource_->size(), draw_info_.resource_->format()); |
} |
return 0; |
} |