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

Unified Diff: cc/paint/transform_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
Index: cc/paint/transform_display_item.h
diff --git a/cc/paint/transform_display_item.h b/cc/paint/transform_display_item.h
index a75db2a4d87ea70a9e0b87f241979c62c5e8a632..50c2358d783bb57884b09b9b12954528b85ae40d 100644
--- a/cc/paint/transform_display_item.h
+++ b/cc/paint/transform_display_item.h
@@ -19,7 +19,7 @@ class CC_PAINT_EXPORT TransformDisplayItem : public DisplayItem {
~TransformDisplayItem() override;
size_t ExternalMemoryUsage() const { return 0; }
- int ApproximateOpCount() const { return 1; }
+ int OpCount() const { return 1; }
const gfx::Transform transform;
};
@@ -29,7 +29,7 @@ class CC_PAINT_EXPORT EndTransformDisplayItem : public DisplayItem {
EndTransformDisplayItem();
~EndTransformDisplayItem() override;
- int ApproximateOpCount() const { return 0; }
+ int OpCount() const { return 0; }
};
} // namespace cc
« no previous file with comments | « cc/paint/paint_op_buffer_unittest.cc ('k') | third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698