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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskImportStep.h

Issue 1887183002: Remove OILPAN from core/dom/custom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698