Commit 7571adec authored by Xianzhu Wang's avatar Xianzhu Wang Committed by Commit Bot

[PE] Let PaintPropertyTreePrinter print ClipPath and ClipPathClip

Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Change-Id: Ia0d0a387c21c683f2bf3882aaddc9b947a3e1375
Reviewed-on: https://chromium-review.googlesource.com/1069262
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#560718}
parent a8a1c975
......@@ -81,6 +81,7 @@ class PropertyTreePrinterTraits<ClipPaintPropertyNode> {
const ObjectPaintProperties& properties,
PropertyTreePrinter<ClipPaintPropertyNode>& printer) {
printer.AddNode(properties.FragmentClip());
printer.AddNode(properties.ClipPathClip());
printer.AddNode(properties.MaskClip());
printer.AddNode(properties.CssClip());
printer.AddNode(properties.CssClipFixedPosition());
......@@ -100,6 +101,7 @@ class PropertyTreePrinterTraits<EffectPaintPropertyNode> {
printer.AddNode(properties.Effect());
printer.AddNode(properties.Filter());
printer.AddNode(properties.Mask());
printer.AddNode(properties.ClipPath());
}
};
......@@ -141,6 +143,7 @@ void UpdateDebugNames(const LayoutObject& object,
SetDebugName(properties.SvgLocalToBorderBoxTransform(),
"SvgLocalToBorderBoxTransform", object);
SetDebugName(properties.ScrollTranslation(), "ScrollTranslation", object);
SetDebugName(properties.FragmentClip(), "FragmentClip", object);
SetDebugName(properties.ClipPathClip(), "ClipPathClip", object);
SetDebugName(properties.MaskClip(), "MaskClip", object);
......@@ -152,6 +155,7 @@ void UpdateDebugNames(const LayoutObject& object,
SetDebugName(properties.InnerBorderRadiusClip(), "InnerBorderRadiusClip",
object);
SetDebugName(properties.OverflowClip(), "OverflowClip", object);
SetDebugName(properties.Effect(), "Effect", object);
SetDebugName(properties.Filter(), "Filter", object);
SetDebugName(properties.Mask(), "Mask", object);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment