| Index: Source/core/css/resolver/StyleResourceLoader.h
|
| diff --git a/Source/core/css/resolver/StyleResourceLoader.h b/Source/core/css/resolver/StyleResourceLoader.h
|
| index ae45c12a9812fb7d0a768a8de30e808839fb1aa7..f4d5a66f7a81cd60153e91b9a657cceade22f539 100644
|
| --- a/Source/core/css/resolver/StyleResourceLoader.h
|
| +++ b/Source/core/css/resolver/StyleResourceLoader.h
|
| @@ -23,8 +23,8 @@
|
| #ifndef StyleResourceLoader_h
|
| #define StyleResourceLoader_h
|
|
|
| -#include "wtf/OwnPtr.h"
|
| -#include "wtf/PassRefPtr.h"
|
| +#include "platform/heap/Handle.h"
|
| +#include "wtf/Forward.h"
|
|
|
| namespace blink {
|
|
|
| @@ -39,13 +39,16 @@ class StylePendingImage;
|
| // Manages loading of resources, requested by the stylesheets.
|
| // Expects the same lifetime as StyleResolver, because
|
| // it expects Document to never change.
|
| -class StyleResourceLoader {
|
| -WTF_MAKE_NONCOPYABLE(StyleResourceLoader);
|
| +class StyleResourceLoader final {
|
| + WTF_MAKE_NONCOPYABLE(StyleResourceLoader);
|
| + DISALLOW_ALLOCATION();
|
| public:
|
| explicit StyleResourceLoader(Document*);
|
|
|
| void loadPendingResources(LayoutStyle*, ElementStyleResources&);
|
|
|
| + DECLARE_TRACE();
|
| +
|
| private:
|
| void loadPendingSVGDocuments(LayoutStyle*, ElementStyleResources&);
|
|
|
| @@ -53,7 +56,7 @@ private:
|
| void loadPendingImages(LayoutStyle*, ElementStyleResources&);
|
| void loadPendingShapeImage(LayoutStyle*, ShapeValue*, float deviceScaleFactor);
|
|
|
| - Document* m_document;
|
| + RawPtrWillBeMember<Document> m_document;
|
| };
|
|
|
| } // namespace blink
|
|
|