Index: cc/resources/ui_resource_bitmap.h |
diff --git a/cc/resources/ui_resource_bitmap.h b/cc/resources/ui_resource_bitmap.h |
index 6f2c780fcb9081dfef259ec974b7cfaed6ea33cc..0c7931b0a877fdaf80b53ecdde2b9b1545ed8601 100644 |
--- a/cc/resources/ui_resource_bitmap.h |
+++ b/cc/resources/ui_resource_bitmap.h |
@@ -52,7 +52,7 @@ class CC_EXPORT UIResourceBitmap { |
~UIResourceBitmap(); |
// Returns the memory usage of the bitmap. |
- size_t GetAllocatedSizeInBytes() const { |
+ size_t EstimateMemoryUsage() const { |
return pixel_ref_ ? pixel_ref_->rowBytes() * size_.height() : 0; |
} |