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

Unified Diff: cc/paint/drawing_display_item.cc

Issue 2884563004: cc: Renamed approximate{BytesUsed,OpCount} in paint op buffer. (Closed)
Patch Set: winfix Created 3 years, 7 months 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/paint/drawing_display_item.h ('k') | cc/paint/filter_display_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/drawing_display_item.cc
diff --git a/cc/paint/drawing_display_item.cc b/cc/paint/drawing_display_item.cc
index 60b09ee0e2723cfd09bf86f0eb75781c96d6133c..f8819c01e9864f1805cdc283ee70f7b2e31a14f0 100644
--- a/cc/paint/drawing_display_item.cc
+++ b/cc/paint/drawing_display_item.cc
@@ -19,12 +19,12 @@ DrawingDisplayItem::DrawingDisplayItem(const DrawingDisplayItem& item)
DrawingDisplayItem::~DrawingDisplayItem() = default;
size_t DrawingDisplayItem::ExternalMemoryUsage() const {
- return picture->approximateBytesUsed();
+ return picture->bytes_used();
}
DISABLE_CFI_PERF
-int DrawingDisplayItem::ApproximateOpCount() const {
- return picture->approximateOpCount();
+size_t DrawingDisplayItem::OpCount() const {
+ return picture->size();
}
} // namespace cc
« no previous file with comments | « cc/paint/drawing_display_item.h ('k') | cc/paint/filter_display_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698