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

Unified Diff: third_party/WebKit/Source/platform/graphics/Image.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/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 f6819a7082d0d98e16b4526b172c6cc3f3cf05bd..e238844dd926b948be7cfb0f1b95c46a56a75cb8 100644
--- a/third_party/WebKit/Source/platform/graphics/Image.h
+++ b/third_party/WebKit/Source/platform/graphics/Image.h
@@ -140,7 +140,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;
}
@@ -218,8 +218,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;
};
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/BitmapImage.cpp ('k') | third_party/WebKit/Source/web/WebFrameSerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698