Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: ui/android/resources/crushed_sprite_resource.h

Issue 2440393002: [tracing] Implement composable memory usage estimators. (Closed)
Patch Set: Rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/ui_resource_bitmap.h ('k') | ui/android/resources/crushed_sprite_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/resources/crushed_sprite_resource.h
diff --git a/ui/android/resources/crushed_sprite_resource.h b/ui/android/resources/crushed_sprite_resource.h
index 9bfb57bb63adccb9501077cd0af9198cf3b28bfa..f4c510207c5e7563104b4d0798f6d54a77343722 100644
--- a/ui/android/resources/crushed_sprite_resource.h
+++ b/ui/android/resources/crushed_sprite_resource.h
@@ -71,7 +71,7 @@ class UI_ANDROID_EXPORT CrushedSpriteResource {
int GetFrameCount();
// Returns the memory usage of the bitmap.
- size_t GetAllocatedSizeInBytes() const;
+ size_t EstimateMemoryUsage() const;
private:
SkBitmap bitmap_;
« no previous file with comments | « cc/resources/ui_resource_bitmap.h ('k') | ui/android/resources/crushed_sprite_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698