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

Unified Diff: sky/engine/core/dom/custom/CustomElementMicrotaskRunQueue.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
Index: sky/engine/core/dom/custom/CustomElementMicrotaskRunQueue.h
diff --git a/sky/engine/core/dom/custom/CustomElementMicrotaskRunQueue.h b/sky/engine/core/dom/custom/CustomElementMicrotaskRunQueue.h
index f445eee3df4a8cd7f8b821db119dffe2e15a489a..121222625d06d6b8ce7fa3b84f46e3916521e47b 100644
--- a/sky/engine/core/dom/custom/CustomElementMicrotaskRunQueue.h
+++ b/sky/engine/core/dom/custom/CustomElementMicrotaskRunQueue.h
@@ -6,8 +6,9 @@
#define CustomElementMicrotaskRunQueue_h
#include "base/memory/weak_ptr.h"
-#include "platform/heap/Handle.h"
+#include "wtf/PassOwnPtr.h"
#include "wtf/RefCounted.h"
+#include "wtf/RefPtr.h"
namespace blink {
@@ -17,16 +18,14 @@ class CustomElementMicrotaskStep;
class HTMLImportLoader;
class CustomElementMicrotaskRunQueue : public RefCounted<CustomElementMicrotaskRunQueue> {
- DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(CustomElementMicrotaskRunQueue)
public:
static PassRefPtr<CustomElementMicrotaskRunQueue> create() { return adoptRef(new CustomElementMicrotaskRunQueue()); }
+ ~CustomElementMicrotaskRunQueue();
void enqueue(HTMLImportLoader* parentLoader, PassOwnPtr<CustomElementMicrotaskStep>, bool importIsSync);
void requestDispatchIfNeeded();
bool isEmpty() const;
- void trace(Visitor*);
-
private:
CustomElementMicrotaskRunQueue();

Powered by Google App Engine
This is Rietveld 408576698