| Index: Source/core/xml/XSLImportRule.h
|
| diff --git a/Source/core/xml/XSLImportRule.h b/Source/core/xml/XSLImportRule.h
|
| index 388f91aa1fa55ab9d267d470f9fe556db9209b13..e9f70fed1469bfc1fd067906bc7f384e114592fb 100644
|
| --- a/Source/core/xml/XSLImportRule.h
|
| +++ b/Source/core/xml/XSLImportRule.h
|
| @@ -30,13 +30,12 @@
|
|
|
| namespace blink {
|
|
|
| -class XSLImportRule final : public NoBaseWillBeGarbageCollectedFinalized<XSLImportRule> {
|
| - WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(XSLImportRule);
|
| +class XSLImportRule final : public GarbageCollectedFinalized<XSLImportRule> {
|
| public:
|
| - static PassOwnPtrWillBeRawPtr<XSLImportRule> create(XSLStyleSheet* parentSheet, const String& href)
|
| + static XSLImportRule* create(XSLStyleSheet* parentSheet, const String& href)
|
| {
|
| ASSERT(RuntimeEnabledFeatures::xsltEnabled());
|
| - return adoptPtrWillBeNoop(new XSLImportRule(parentSheet, href));
|
| + return new XSLImportRule(parentSheet, href);
|
| }
|
|
|
| virtual ~XSLImportRule();
|
|
|