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

Unified Diff: Source/core/layout/svg/LayoutSVGResourceClipper.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
Index: Source/core/layout/svg/LayoutSVGResourceClipper.cpp
diff --git a/Source/core/layout/svg/LayoutSVGResourceClipper.cpp b/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
index 1f2fc9d2defec15c5bf88c975af62560a346c102..56498b789ea68e3ce35dbf91777bd94915c74dd6 100644
--- a/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
+++ b/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
@@ -143,13 +143,13 @@ bool LayoutSVGResourceClipper::tryPathOnlyClipping(const LayoutObject& layoutObj
// Transform path by animatedLocalTransform.
clipPath.transform(animatedLocalTransform);
- if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
- if (!context->displayItemList()->displayItemConstructionIsDisabled())
- context->displayItemList()->add(BeginClipPathDisplayItem::create(layoutObject, clipPath));
- } else {
- BeginClipPathDisplayItem clipPathDisplayItem(layoutObject, clipPath);
- clipPathDisplayItem.replay(*context);
- }
+ //if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
+ // if (!context->displayItemList()->displayItemConstructionIsDisabled())
+ // context->displayItemList()->add(BeginClipPathDisplayItem::create(layoutObject, clipPath));
+ //} else {
+ // BeginClipPathDisplayItem clipPathDisplayItem(layoutObject, clipPath);
+ // clipPathDisplayItem.replay(*context);
+ //}
return true;
}
« no previous file with comments | « Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp ('k') | Source/core/paint/BoxClipper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698