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

Unified Diff: cc/playback/largest_display_item.cc

Issue 2297213003: Fix CSS reference filters with negative transformed children. (Closed)
Patch Set: Created 4 years, 4 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/playback/filter_display_item.cc ('k') | cc/quads/draw_quad_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/largest_display_item.cc
diff --git a/cc/playback/largest_display_item.cc b/cc/playback/largest_display_item.cc
index 9e0661c88a1bc5c171e1356284a1f728018cd08e..daf403635076d5e53412577257680f7017dae703 100644
--- a/cc/playback/largest_display_item.cc
+++ b/cc/playback/largest_display_item.cc
@@ -19,11 +19,11 @@
#include "third_party/skia/include/core/SkPicture.h"
namespace {
-// Either ClipDisplayItem or TransformDisplayItem is largest. It depends on the
-// platform.
+// Either FilterDisplayItem or TransformDisplayItem is largest. It depends on
+// the platform.
constexpr size_t kLargestDisplayItemSize =
- sizeof(cc::ClipDisplayItem) > sizeof(cc::TransformDisplayItem)
- ? sizeof(cc::ClipDisplayItem)
+ sizeof(cc::FilterDisplayItem) > sizeof(cc::TransformDisplayItem)
+ ? sizeof(cc::FilterDisplayItem)
: sizeof(cc::TransformDisplayItem);
} // namespace
« no previous file with comments | « cc/playback/filter_display_item.cc ('k') | cc/quads/draw_quad_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698