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

Unified Diff: cc/paint/clip_path_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_display_item.h ('k') | cc/paint/compositing_display_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/clip_path_display_item.h
diff --git a/cc/paint/clip_path_display_item.h b/cc/paint/clip_path_display_item.h
index 54de999223369da3cb67902bad8631846043e4ca..960697dc62eb946cc58e954f60ed9c98e43823a5 100644
--- a/cc/paint/clip_path_display_item.h
+++ b/cc/paint/clip_path_display_item.h
@@ -23,7 +23,7 @@ class CC_PAINT_EXPORT ClipPathDisplayItem : public DisplayItem {
// may well be shared anyway).
return 0;
}
- int ApproximateOpCount() const { return 1; }
+ int OpCount() const { return 1; }
const SkPath clip_path;
const bool antialias;
@@ -34,7 +34,7 @@ class CC_PAINT_EXPORT EndClipPathDisplayItem : public DisplayItem {
EndClipPathDisplayItem();
~EndClipPathDisplayItem() override;
- int ApproximateOpCount() const { return 0; }
+ int OpCount() const { return 0; }
};
} // namespace cc
« no previous file with comments | « cc/paint/clip_display_item.h ('k') | cc/paint/compositing_display_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698