Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: Source/core/fetch/ImageResource.h

Issue 25627006: Generalize ImageForContainer (Closed) Base URL:
Patch Set: Created 7 years, 2 months 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: Source/core/fetch/ImageResource.h
diff --git a/Source/core/fetch/ImageResource.h b/Source/core/fetch/ImageResource.h
index 90b3a19a069788d48ebb2960b727af439736cd76..f5cc4f2892a24c245f61f897ea823aea2ad3fc1f 100644
--- a/Source/core/fetch/ImageResource.h
+++ b/Source/core/fetch/ImageResource.h
@@ -24,10 +24,9 @@
#define ImageResource_h
#include "core/fetch/Resource.h"
+#include "core/platform/graphics/ImageCache.h"
#include "core/platform/graphics/ImageObserver.h"
#include "core/platform/graphics/IntSizeHash.h"
-#include "core/svg/graphics/SVGImageCache.h"
-#include "platform/geometry/IntRect.h"
#include "platform/geometry/LayoutSize.h"
#include "wtf/HashMap.h"
@@ -115,7 +114,7 @@ private:
ContainerSizeRequests m_pendingContainerSizeRequests;
RefPtr<WebCore::Image> m_image;
- OwnPtr<SVGImageCache> m_svgImageCache;
+ OwnPtr<ImageCache> m_imageCache;
bool m_loadingMultipartContent;

Powered by Google App Engine
This is Rietveld 408576698