Commit 8af44b30 authored by Fredrik Söderqvist's avatar Fredrik Söderqvist Committed by Chromium LUCI CQ

Rename static LayoutSVGResourceContainer::StyleDidChange

To avoid future clash with the member function with the same name.

Bug: 1028063
Change-Id: I60dbf53c1949a7ee6e1000ea20629f10d35e6778
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2577223
Auto-Submit: Fredrik Söderquist <fs@opera.com>
Reviewed-by: default avatarStephen Chenney <schenney@chromium.org>
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834323}
parent 4a98b6ec
......@@ -143,7 +143,7 @@ void LayoutSVGBlock::StyleDidChange(StyleDifference diff,
SVGLayoutSupport::NotifySVGRootOfChangedCompositingReasons(this);
if (diff.HasDifference()) {
SVGResourcesCache::UpdateResources(*this);
LayoutSVGResourceContainer::StyleDidChange(*this, diff);
LayoutSVGResourceContainer::StyleChanged(*this, diff);
}
}
......
......@@ -141,7 +141,7 @@ void LayoutSVGInline::StyleDidChange(StyleDifference diff,
SVGLayoutSupport::NotifySVGRootOfChangedCompositingReasons(this);
if (diff.HasDifference()) {
SVGResourcesCache::UpdateResources(*this);
LayoutSVGResourceContainer::StyleDidChange(*this, diff);
LayoutSVGResourceContainer::StyleChanged(*this, diff);
}
}
......
......@@ -161,7 +161,7 @@ void LayoutSVGModelObject::StyleDidChange(StyleDifference diff,
SVGLayoutSupport::NotifySVGRootOfChangedCompositingReasons(this);
if (diff.HasDifference()) {
SVGResourcesCache::UpdateResources(*this);
LayoutSVGResourceContainer::StyleDidChange(*this, diff);
LayoutSVGResourceContainer::StyleChanged(*this, diff);
}
}
......
......@@ -242,7 +242,7 @@ static inline bool IsLayoutObjectOfResourceContainer(
return false;
}
void LayoutSVGResourceContainer::StyleDidChange(LayoutObject& object,
void LayoutSVGResourceContainer::StyleChanged(LayoutObject& object,
StyleDifference diff) {
// If this LayoutObject is the child of a resource container and
// it requires repainting because of changes to CSS properties
......
......@@ -78,7 +78,7 @@ class LayoutSVGResourceContainer : public LayoutSVGHiddenContainer {
static void MarkForLayoutAndParentResourceInvalidation(
LayoutObject&,
bool needs_layout = true);
static void StyleDidChange(LayoutObject&, StyleDifference);
static void StyleChanged(LayoutObject&, StyleDifference);
void ClearInvalidationMask() {
NOT_DESTROYED();
......
......@@ -377,7 +377,7 @@ void LayoutSVGRoot::StyleDidChange(StyleDifference diff,
return;
if (diff.HasDifference()) {
SVGResourcesCache::UpdateResources(*this);
LayoutSVGResourceContainer::StyleDidChange(*this, diff);
LayoutSVGResourceContainer::StyleChanged(*this, diff);
}
}
......
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