Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(837)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutImage.h

Issue 2469873002: [ImageResource 4] Split ImageResource into Resource and Image parts (Closed)
Patch Set: style Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6a92201e34aa2cc5e2955e9289aef245b9f30084..668c879921eefd0bfc081d1b2d9ef09f2e6d82bd 100644
--- a/third_party/WebKit/Source/core/layout/LayoutImage.h
+++ b/third_party/WebKit/Source/core/layout/LayoutImage.h
@@ -62,7 +62,7 @@ class CORE_EXPORT LayoutImage : public LayoutReplaced {
const LayoutImageResource* imageResource() const {
return m_imageResource.get();
}
- ImageResource* cachedImage() const {
+ ImageResourceContent* cachedImage() const {
return m_imageResource ? m_imageResource->cachedImage() : 0;
}
@@ -117,7 +117,7 @@ class CORE_EXPORT LayoutImage : public LayoutReplaced {
LayoutUnit minimumReplacedHeight() const override;
- void imageNotifyFinished(ImageResource*) final;
+ void imageNotifyFinished(ImageResourceContent*) final;
bool nodeAtPoint(HitTestResult&,
const HitTestLocation& locationInContainer,
const LayoutPoint& accumulatedOffset,

Powered by Google App Engine
This is Rietveld 408576698