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

Unified Diff: cc/paint/compositing_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/clip_path_display_item.h ('k') | cc/paint/display_item_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/compositing_display_item.h
diff --git a/cc/paint/compositing_display_item.h b/cc/paint/compositing_display_item.h
index 266ab4d2ea8d021ee90cad04de943dae4c1f67da..ba14de004b87ee8e9a811b8f00c8b604cf7c8a92 100644
--- a/cc/paint/compositing_display_item.h
+++ b/cc/paint/compositing_display_item.h
@@ -29,7 +29,7 @@ class CC_PAINT_EXPORT CompositingDisplayItem : public DisplayItem {
// TODO(pdr): Include color_filter's memory here.
return 0;
}
- int ApproximateOpCount() const { return 1; }
+ int OpCount() const { return 1; }
const uint8_t alpha;
const SkBlendMode xfermode;
@@ -44,7 +44,7 @@ class CC_PAINT_EXPORT EndCompositingDisplayItem : public DisplayItem {
EndCompositingDisplayItem();
~EndCompositingDisplayItem() override;
- int ApproximateOpCount() const { return 0; }
+ int OpCount() const { return 0; }
};
} // namespace cc
« no previous file with comments | « cc/paint/clip_path_display_item.h ('k') | cc/paint/display_item_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698