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

Unified Diff: third_party/WebKit/Source/platform/graphics/Image.h

Issue 2469873002: [ImageResource 4] Split ImageResource into Resource and Image parts (Closed)
Patch Set: comments Created 4 years, 1 month 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/platform/graphics/Image.h
diff --git a/third_party/WebKit/Source/platform/graphics/Image.h b/third_party/WebKit/Source/platform/graphics/Image.h
index dfbfe4ee08731923fe82023230cf74bfcdacf8f3..2d90f3cf2e0ef3942723900db6801c9b91aed5d3 100644
--- a/third_party/WebKit/Source/platform/graphics/Image.h
+++ b/third_party/WebKit/Source/platform/graphics/Image.h
@@ -139,7 +139,7 @@ class PLATFORM_EXPORT Image : public ThreadSafeRefCounted<Image> {
// animation update for CSS and advance the SMIL timeline by one frame.
virtual void advanceAnimationForTesting() {}
- // Typically the ImageResource that owns us.
+ // Typically the ImageResourceContent that owns us.
ImageObserver* getImageObserver() const {
return m_imageObserverDisabled ? nullptr : m_imageObserver;
}
@@ -214,8 +214,8 @@ class PLATFORM_EXPORT Image : public ThreadSafeRefCounted<Image> {
// TODO(Oilpan): consider having Image on the Oilpan heap and
// turn this into a Member<>.
//
- // The observer (an ImageResource) is an untraced member, with the
- // ImageResource being responsible for clearing itself out.
+ // The observer (an ImageResourceContent) is an untraced member, with the
+ // ImageResourceContent being responsible for clearing itself out.
UntracedMember<ImageObserver> m_imageObserver;
bool m_imageObserverDisabled;
};

Powered by Google App Engine
This is Rietveld 408576698