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

Unified Diff: Source/core/dom/custom/CustomElementScheduler.h

Issue 528373003: Make CustomElementSchedular static (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed empty BUG= line Created 6 years, 3 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
Index: Source/core/dom/custom/CustomElementScheduler.h
diff --git a/Source/core/dom/custom/CustomElementScheduler.h b/Source/core/dom/custom/CustomElementScheduler.h
index 68ba526a0a27e1f25945c4141e846c39d367b0b9..976679d41b1c27436e4d1b6af062e53b637a2743 100644
--- a/Source/core/dom/custom/CustomElementScheduler.h
+++ b/Source/core/dom/custom/CustomElementScheduler.h
@@ -62,26 +62,10 @@ public:
static void microtaskDispatcherDidFinish();
static void callbackDispatcherDidFinish();
- void trace(Visitor*);
-
private:
CustomElementScheduler() { }
- static CustomElementScheduler& instance();
static void enqueueMicrotaskStep(Document&, PassOwnPtrWillBeRawPtr<CustomElementMicrotaskStep>, bool importIsSync = true);
-
- CustomElementCallbackQueue& ensureCallbackQueue(PassRefPtrWillBeRawPtr<Element>);
- CustomElementCallbackQueue& schedule(PassRefPtrWillBeRawPtr<Element>);
-
- // FIXME: Consider moving the element's callback queue to
- // ElementRareData. Then the scheduler can become completely
- // static.
- void clearElementCallbackQueueMap();
-
- // The element -> callback queue map is populated by the scheduler
- // and owns the lifetimes of the CustomElementCallbackQueues.
- typedef WillBeHeapHashMap<RawPtrWillBeMember<Element>, OwnPtrWillBeMember<CustomElementCallbackQueue> > ElementCallbackQueueMap;
- ElementCallbackQueueMap m_elementCallbackQueueMap;
};
}
« no previous file with comments | « Source/core/dom/custom/CustomElementProcessingStack.h ('k') | Source/core/dom/custom/CustomElementScheduler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698