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

Unified Diff: third_party/WebKit/Source/core/style/StyleFetchedImageSet.h

Issue 2521823003: [ImageResource 1c] Change StyleFetchedImageSet from ResourceClient to ImageResourceObserver (Closed)
Patch Set: Rebase 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
index 8a93b02b1009bd9edd08835234ed465aff137be1..0ed7ee36a7bdd7b599b5b8ccc1d2ac463c70fb34 100644
--- a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
@@ -26,7 +26,7 @@
#ifndef StyleFetchedImageSet_h
#define StyleFetchedImageSet_h
-#include "core/fetch/ResourceClient.h"
+#include "core/fetch/ImageResourceObserver.h"
#include "core/style/StyleImage.h"
#include "platform/geometry/LayoutSize.h"
#include "platform/weborigin/KURL.h"
@@ -38,9 +38,9 @@ class CSSImageSetValue;
// This class keeps one cached image and has access to a set of alternatives.
-class StyleFetchedImageSet final : public StyleImage, private ResourceClient {
+class StyleFetchedImageSet final : public StyleImage,
+ public ImageResourceObserver {
USING_PRE_FINALIZER(StyleFetchedImageSet, dispose);
- USING_GARBAGE_COLLECTED_MIXIN(StyleFetchedImageSet);
public:
static StyleFetchedImageSet* create(ImageResource* image,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698