Index: Source/core/html/HTMLImageFallbackHelper.cpp |
diff --git a/Source/core/html/HTMLImageFallbackHelper.cpp b/Source/core/html/HTMLImageFallbackHelper.cpp |
index 7695992c4776a573be346d1c84dc1622d1713680..a21bc6ad7e929b264505da47ea41695f60c8ca1a 100644 |
--- a/Source/core/html/HTMLImageFallbackHelper.cpp |
+++ b/Source/core/html/HTMLImageFallbackHelper.cpp |
@@ -66,7 +66,7 @@ void HTMLImageFallbackHelper::createAltTextShadowTree(Element& element) |
altText->appendChild(text); |
} |
-PassRefPtr<LayoutStyle> HTMLImageFallbackHelper::customStyleForAltText(Element& element, PassRefPtr<LayoutStyle> newStyle) |
+PassRefPtr<ComputedStyle> HTMLImageFallbackHelper::customStyleForAltText(Element& element, PassRefPtr<ComputedStyle> newStyle) |
{ |
// If we have an author shadow root or have not created the UA shadow root yet, bail early. We can't |
// use ensureClosedShadowRoot() here because that would alter the DOM tree during style recalc. |