Index: Source/core/dom/shadow/ElementShadow.h |
diff --git a/Source/core/dom/shadow/ElementShadow.h b/Source/core/dom/shadow/ElementShadow.h |
index a0d61abcc6f2414dffa158daa6a5e447f9386b4b..403c10fbdd93f9224d40f5c1e666b2917e29106d 100644 |
--- a/Source/core/dom/shadow/ElementShadow.h |
+++ b/Source/core/dom/shadow/ElementShadow.h |
@@ -30,6 +30,7 @@ |
#include "core/dom/shadow/InsertionPoint.h" |
#include "core/dom/shadow/SelectRuleFeatureSet.h" |
#include "core/dom/shadow/ShadowRoot.h" |
+#include "platform/heap/Handle.h" |
#include "wtf/DoublyLinkedList.h" |
#include "wtf/Forward.h" |
#include "wtf/HashMap.h" |
@@ -39,10 +40,11 @@ |
namespace WebCore { |
-class ElementShadow FINAL { |
- WTF_MAKE_NONCOPYABLE(ElementShadow); WTF_MAKE_FAST_ALLOCATED; |
+class ElementShadow FINAL : public NoBaseWillBeGarbageCollectedFinalized<ElementShadow> { |
+ WTF_MAKE_NONCOPYABLE(ElementShadow); |
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
public: |
- static PassOwnPtr<ElementShadow> create(); |
+ static PassOwnPtrWillBeRawPtr<ElementShadow> create(); |
~ElementShadow(); |
Element* host() const; |