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

Unified Diff: Source/core/paint/SVGClipPainter.cpp

Issue 1203343002: WIP for display item list backed by ListContainer Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | « Source/core/paint/RoundedInnerRectClipper.cpp ('k') | Source/core/paint/SVGMaskPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/SVGClipPainter.cpp
diff --git a/Source/core/paint/SVGClipPainter.cpp b/Source/core/paint/SVGClipPainter.cpp
index ec19fd9440a1561f7cd87c014135d1c18391dd2b..01c0de4125eace368d04eb0d1317f813b1e77a08 100644
--- a/Source/core/paint/SVGClipPainter.cpp
+++ b/Source/core/paint/SVGClipPainter.cpp
@@ -100,17 +100,17 @@ void SVGClipPainter::postApplyStatefulResource(const LayoutObject& target, Graph
switch (clipperState) {
case ClipperAppliedPath:
// Path-only clipping, no layers to restore but we need to emit an end to the clip path display item.
- if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
- if (!context->displayItemList()->displayItemConstructionIsDisabled()) {
- if (context->displayItemList()->lastDisplayItemIsNoopBegin())
- context->displayItemList()->removeLastDisplayItem();
- else
- context->displayItemList()->add(EndClipPathDisplayItem::create(target));
- }
- } else {
- EndClipPathDisplayItem endClipPathDisplayItem(target);
- endClipPathDisplayItem.replay(*context);
- }
+ //if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
+ // if (!context->displayItemList()->displayItemConstructionIsDisabled()) {
+ // if (context->displayItemList()->lastDisplayItemIsNoopBegin())
+ // context->displayItemList()->removeLastDisplayItem();
+ // else
+ // context->displayItemList()->add(EndClipPathDisplayItem::create(target));
+ // }
+ //} else {
+ // EndClipPathDisplayItem endClipPathDisplayItem(target);
+ // endClipPathDisplayItem.replay(*context);
+ //}
break;
case ClipperAppliedMask:
// Transfer content -> clip mask (SrcIn)
« no previous file with comments | « Source/core/paint/RoundedInnerRectClipper.cpp ('k') | Source/core/paint/SVGMaskPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698