Index: Source/core/svg/SVGElement.h |
diff --git a/Source/core/svg/SVGElement.h b/Source/core/svg/SVGElement.h |
index 92951df696963a191864dfc86d2cb94bd02f2a03..275404de63c9a65204392d1bb4696e5c8085ff50 100644 |
--- a/Source/core/svg/SVGElement.h |
+++ b/Source/core/svg/SVGElement.h |
@@ -130,7 +130,7 @@ public: |
void synchronizeAnimatedSVGAttribute(const QualifiedName&) const; |
- virtual PassRefPtr<LayoutStyle> customStyleForLayoutObject() override final; |
+ virtual PassRefPtr<ComputedStyle> customStyleForLayoutObject() override final; |
virtual void synchronizeRequiredFeatures() { } |
virtual void synchronizeRequiredExtensions() { } |
@@ -231,8 +231,8 @@ private: |
bool isSVGElement() const = delete; // This will catch anyone doing an unnecessary check. |
bool isStyledElement() const = delete; // This will catch anyone doing an unnecessary check. |
- const LayoutStyle* computedStyle(PseudoId = NOPSEUDO); |
- virtual const LayoutStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) override final { return computedStyle(pseudoElementSpecifier); } |
+ const ComputedStyle* ensureComputedStyle(PseudoId = NOPSEUDO); |
+ virtual const ComputedStyle* virtualEnsureComputedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) override final { return ensureComputedStyle(pseudoElementSpecifier); } |
virtual void willRecalcStyle(StyleRecalcChange) override; |
void buildPendingResourcesIfNeeded(); |