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

Unified Diff: Source/core/css/resolver/StyleResourceLoader.h

Issue 1308953009: Move Image ownership out of CSSValue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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/css/resolver/StyleResourceLoader.h
diff --git a/Source/core/css/resolver/StyleResourceLoader.h b/Source/core/css/resolver/StyleResourceLoader.h
index f274d0fe56e162b7ced591c713858d9e8846066d..4e7e74e41fcd2413f9b02dde62d781d5c21e5da6 100644
--- a/Source/core/css/resolver/StyleResourceLoader.h
+++ b/Source/core/css/resolver/StyleResourceLoader.h
@@ -23,6 +23,7 @@
#ifndef StyleResourceLoader_h
#define StyleResourceLoader_h
+#include "core/style/StyleImage.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
@@ -33,7 +34,6 @@ class Document;
class ComputedStyle;
class RenderStyle;
class ShapeValue;
-class StyleImage;
class StylePendingImage;
// Manages loading of resources, requested by the stylesheets.
@@ -52,9 +52,9 @@ public:
private:
void loadPendingSVGDocuments(ComputedStyle*, ElementStyleResources&);
- PassRefPtrWillBeRawPtr<StyleImage> loadPendingImage(StylePendingImage*, float deviceScaleFactor);
- void loadPendingImages(ComputedStyle*, ElementStyleResources&);
- void loadPendingShapeImage(ComputedStyle*, ShapeValue*, float deviceScaleFactor);
+ PassRefPtrWillBeRawPtr<StyleImage> loadPendingImage(CSSStyleImageMap&, StylePendingImage*, float deviceScaleFactor);
+ void loadPendingImages(ComputedStyle*, ElementStyleResources& elementStyleResources);
+ void loadPendingShapeImage(ComputedStyle*, CSSStyleImageMap&, ShapeValue*, float deviceScaleFactor);
RawPtrWillBeMember<Document> m_document;
};
« no previous file with comments | « Source/core/css/resolver/ElementStyleResources.cpp ('k') | Source/core/css/resolver/StyleResourceLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698