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

Unified Diff: cc/paint/filter_display_item.h

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.cc ('k') | cc/paint/float_clip_display_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/filter_display_item.h
diff --git a/cc/paint/filter_display_item.h b/cc/paint/filter_display_item.h
index c4f18dcbc85cbf1a57bcbd8ae8244384e4a0a949..ad40ff977e28433927ac9ed49986f807a36b1b6b 100644
--- a/cc/paint/filter_display_item.h
+++ b/cc/paint/filter_display_item.h
@@ -25,7 +25,7 @@ class CC_PAINT_EXPORT FilterDisplayItem : public DisplayItem {
// enough.
return filters.size() * sizeof(filters.at(0));
}
- int ApproximateOpCount() const { return 1; }
+ int OpCount() const { return 1; }
const FilterOperations filters;
const gfx::RectF bounds;
@@ -37,7 +37,7 @@ class CC_PAINT_EXPORT EndFilterDisplayItem : public DisplayItem {
EndFilterDisplayItem();
~EndFilterDisplayItem() override;
- int ApproximateOpCount() const { return 0; }
+ int OpCount() const { return 0; }
};
} // namespace cc
« no previous file with comments | « cc/paint/drawing_display_item.cc ('k') | cc/paint/float_clip_display_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698