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

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: Fix compile error 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..7f7b6f8697c2fd0a651854d2780a71c0ab808e2d 100644
--- a/Source/core/dom/custom/CustomElementScheduler.h
+++ b/Source/core/dom/custom/CustomElementScheduler.h
@@ -62,26 +62,12 @@ public:
static void microtaskDispatcherDidFinish();
static void callbackDispatcherDidFinish();
- void trace(Visitor*);
+ static void trace(Visitor*);
esprehn 2014/09/04 02:22:43 static trace doesn't make any sense, you also dele
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;
};
}

Powered by Google App Engine
This is Rietveld 408576698