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, ...@@ -143,7 +143,7 @@ void LayoutSVGBlock::StyleDidChange(StyleDifference diff,
SVGLayoutSupport::NotifySVGRootOfChangedCompositingReasons(this); SVGLayoutSupport::NotifySVGRootOfChangedCompositingReasons(this);
if (diff.HasDifference()) { if (diff.HasDifference()) {
SVGResourcesCache::UpdateResources(*this); SVGResourcesCache::UpdateResources(*this);
LayoutSVGResourceContainer::StyleDidChange(*this, diff); LayoutSVGResourceContainer::StyleChanged(*this, diff);
} }
} }
......
...@@ -141,7 +141,7 @@ void LayoutSVGInline::StyleDidChange(StyleDifference diff, ...@@ -141,7 +141,7 @@ void LayoutSVGInline::StyleDidChange(StyleDifference diff,
SVGLayoutSupport::NotifySVGRootOfChangedCompositingReasons(this); SVGLayoutSupport::NotifySVGRootOfChangedCompositingReasons(this);
if (diff.HasDifference()) { if (diff.HasDifference()) {
SVGResourcesCache::UpdateResources(*this); SVGResourcesCache::UpdateResources(*this);
LayoutSVGResourceContainer::StyleDidChange(*this, diff); LayoutSVGResourceContainer::StyleChanged(*this, diff);
} }
} }
......
...@@ -161,7 +161,7 @@ void LayoutSVGModelObject::StyleDidChange(StyleDifference diff, ...@@ -161,7 +161,7 @@ void LayoutSVGModelObject::StyleDidChange(StyleDifference diff,
SVGLayoutSupport::NotifySVGRootOfChangedCompositingReasons(this); SVGLayoutSupport::NotifySVGRootOfChangedCompositingReasons(this);
if (diff.HasDifference()) { if (diff.HasDifference()) {
SVGResourcesCache::UpdateResources(*this); SVGResourcesCache::UpdateResources(*this);
LayoutSVGResourceContainer::StyleDidChange(*this, diff); LayoutSVGResourceContainer::StyleChanged(*this, diff);
} }
} }
......
...@@ -242,8 +242,8 @@ static inline bool IsLayoutObjectOfResourceContainer( ...@@ -242,8 +242,8 @@ static inline bool IsLayoutObjectOfResourceContainer(
return false; return false;
} }
void LayoutSVGResourceContainer::StyleDidChange(LayoutObject& object, void LayoutSVGResourceContainer::StyleChanged(LayoutObject& object,
StyleDifference diff) { StyleDifference diff) {
// If this LayoutObject is the child of a resource container and // If this LayoutObject is the child of a resource container and
// it requires repainting because of changes to CSS properties // it requires repainting because of changes to CSS properties
// such as 'visibility', upgrade to invalidate layout. // such as 'visibility', upgrade to invalidate layout.
......
...@@ -78,7 +78,7 @@ class LayoutSVGResourceContainer : public LayoutSVGHiddenContainer { ...@@ -78,7 +78,7 @@ class LayoutSVGResourceContainer : public LayoutSVGHiddenContainer {
static void MarkForLayoutAndParentResourceInvalidation( static void MarkForLayoutAndParentResourceInvalidation(
LayoutObject&, LayoutObject&,
bool needs_layout = true); bool needs_layout = true);
static void StyleDidChange(LayoutObject&, StyleDifference); static void StyleChanged(LayoutObject&, StyleDifference);
void ClearInvalidationMask() { void ClearInvalidationMask() {
NOT_DESTROYED(); NOT_DESTROYED();
......
...@@ -377,7 +377,7 @@ void LayoutSVGRoot::StyleDidChange(StyleDifference diff, ...@@ -377,7 +377,7 @@ void LayoutSVGRoot::StyleDidChange(StyleDifference diff,
return; return;
if (diff.HasDifference()) { if (diff.HasDifference()) {
SVGResourcesCache::UpdateResources(*this); 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