Index: third_party/WebKit/Source/core/layout/LayoutImage.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutImage.h b/third_party/WebKit/Source/core/layout/LayoutImage.h |
index c81ed4e2db0dfa6f6496350d2e2563828bcb5cd7..2824bcfdf208c3368b20ffc7ca7f9505a3dbf7ce 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutImage.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutImage.h |
@@ -44,7 +44,7 @@ class HTMLMapElement; |
// |
// The class is image type agnostic as it only manipulates decoded images. |
// See LayoutImageResource that holds this image. |
-class CORE_EXPORT LayoutImage : public LayoutReplaced, public ResourceClient { |
+class CORE_EXPORT LayoutImage : public LayoutReplaced { |
public: |
// These are the paddings to use when displaying either alt text or an image. |
static const unsigned short paddingWidth = 4; |
@@ -78,7 +78,6 @@ public: |
} |
const char* name() const override { return "LayoutImage"; } |
- String debugName() const final { return LayoutObject::debugName(); } |
protected: |
bool needsPreferredWidthsRecalculation() const final; |
@@ -107,7 +106,7 @@ private: |
LayoutUnit minimumReplacedHeight() const override; |
- void notifyFinished(Resource*) final; |
+ void imageNotifyFinished(ImageResource*) final; |
bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) final; |
bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, const InlineFlowBox*) const final; |