Index: Source/core/html/HTMLImageElement.h |
diff --git a/Source/core/html/HTMLImageElement.h b/Source/core/html/HTMLImageElement.h |
index 54bc2b9f9d3862da20f7882733a1aff8d2d6ef67..cf8aab1d446f768f527badb3aa66c6673dcbdaba 100644 |
--- a/Source/core/html/HTMLImageElement.h |
+++ b/Source/core/html/HTMLImageElement.h |
@@ -114,7 +114,7 @@ protected: |
virtual bool useFallbackContent() const { return m_useFallbackContent; } |
virtual void didAddClosedShadowRoot(ShadowRoot&) override; |
- virtual PassRefPtr<LayoutStyle> customStyleForLayoutObject() override; |
+ virtual PassRefPtr<ComputedStyle> customStyleForLayoutObject() override; |
private: |
virtual bool areAuthorShadowsAllowed() const override { return false; } |
@@ -123,7 +123,7 @@ private: |
virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) override; |
virtual void attach(const AttachContext& = AttachContext()) override; |
- virtual LayoutObject* createLayoutObject(const LayoutStyle&) override; |
+ virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; |
virtual bool canStartSelection() const override { return false; } |