Index: third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskImportStep.h |
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskImportStep.h b/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskImportStep.h |
index 858b0e2f7222887936c02ebd92316d2f8b7cca4c..53eae0d43905d0649e2cc1a50cd394fd4321918d 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskImportStep.h |
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskImportStep.h |
@@ -33,7 +33,6 @@ |
#include "core/dom/custom/CustomElementMicrotaskStep.h" |
#include "platform/heap/Handle.h" |
-#include "wtf/WeakPtr.h" |
namespace blink { |
@@ -48,15 +47,16 @@ class HTMLImportChild; |
// import isn't "ready" (finished parsing and running script.) |
class CustomElementMicrotaskImportStep final : public CustomElementMicrotaskStep { |
public: |
- static CustomElementMicrotaskImportStep* create(HTMLImportChild*); |
+ static CustomElementMicrotaskImportStep* create(HTMLImportChild* import) |
+ { |
+ return new CustomElementMicrotaskImportStep(import); |
+ } |
+ |
~CustomElementMicrotaskImportStep() override; |
// API for HTML Imports |
void invalidate(); |
void importDidFinishLoading(); |
-#if !ENABLE(OILPAN) |
- WeakPtr<CustomElementMicrotaskImportStep> weakPtr() { return m_weakFactory.createWeakPtr(); } |
-#endif |
DECLARE_VIRTUAL_TRACE(); |
@@ -73,9 +73,6 @@ private: |
void show(unsigned indent) override; |
#endif |
WeakMember<HTMLImportChild> m_import; |
-#if !ENABLE(OILPAN) |
- WeakPtrFactory<CustomElementMicrotaskImportStep> m_weakFactory; |
-#endif |
Member<CustomElementSyncMicrotaskQueue> m_queue; |
}; |