Commit c82697e0 authored by Stefan Zager's avatar Stefan Zager Committed by Commit Bot

Delete unused argument to AddObjectPaintProperties

R=pdr@chromium.org

Change-Id: I6776b66f0bda72a3490e2c37acaba9a3e0ef7983
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2073222
Auto-Submit: Stefan Zager <szager@chromium.org>
Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#744706}
parent 9a573fae
......@@ -54,7 +54,7 @@ class FrameViewPropertyTreePrinter
for (const auto* fragment = &object.FirstFragment(); fragment;
fragment = fragment->NextFragment()) {
if (const auto* properties = fragment->PaintProperties())
Traits::AddObjectPaintProperties(object, *properties, *this);
Traits::AddObjectPaintProperties(*properties, *this);
}
for (const auto* child = object.SlowFirstChild(); child;
child = child->NextSibling()) {
......@@ -75,7 +75,6 @@ class PropertyTreePrinterTraits<TransformPaintPropertyNode> {
printer.AddNode(visual_viewport.GetScrollTranslationNode());
}
static void AddObjectPaintProperties(
const LayoutObject& object,
const ObjectPaintProperties& properties,
PropertyTreePrinter<TransformPaintPropertyNode>& printer) {
printer.AddNode(properties.PaintOffsetTranslation());
......@@ -95,7 +94,6 @@ class PropertyTreePrinterTraits<ClipPaintPropertyNode> {
const VisualViewport& visual_viewport,
PropertyTreePrinter<ClipPaintPropertyNode>& printer) {}
static void AddObjectPaintProperties(
const LayoutObject& object,
const ObjectPaintProperties& properties,
PropertyTreePrinter<ClipPaintPropertyNode>& printer) {
printer.AddNode(properties.FragmentClip());
......@@ -118,7 +116,6 @@ class PropertyTreePrinterTraits<EffectPaintPropertyNode> {
PropertyTreePrinter<EffectPaintPropertyNode>& printer) {}
static void AddObjectPaintProperties(
const LayoutObject& object,
const ObjectPaintProperties& properties,
PropertyTreePrinter<EffectPaintPropertyNode>& printer) {
printer.AddNode(properties.Effect());
......@@ -141,7 +138,6 @@ class PropertyTreePrinterTraits<ScrollPaintPropertyNode> {
}
static void AddObjectPaintProperties(
const LayoutObject& object,
const ObjectPaintProperties& properties,
PropertyTreePrinter<ScrollPaintPropertyNode>& printer) {
printer.AddNode(properties.Scroll());
......
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