Index: cc/resources/scoped_ui_resource.h |
diff --git a/cc/resources/scoped_ui_resource.h b/cc/resources/scoped_ui_resource.h |
index 7f3ea4b385c432c8ed90414abe08e2bec17ae0e7..a0fb5d6df29c825fab4e7250a539a7f316bb79a2 100644 |
--- a/cc/resources/scoped_ui_resource.h |
+++ b/cc/resources/scoped_ui_resource.h |
@@ -33,9 +33,7 @@ class CC_EXPORT ScopedUIResource : public UIResourceClient { |
UIResourceId id() { return id_; } |
// Returns the memory usage of the bitmap. |
- size_t GetAllocatedSizeInBytes() const { |
- return bitmap_.GetAllocatedSizeInBytes(); |
- } |
+ size_t EstimateMemoryUsage() const { return bitmap_.EstimateMemoryUsage(); } |
protected: |
ScopedUIResource(UIResourceManager* ui_resource_manager, |