| Index: Source/core/dom/custom/CustomElementProcessingStack.h
|
| diff --git a/Source/core/dom/custom/CustomElementCallbackDispatcher.h b/Source/core/dom/custom/CustomElementProcessingStack.h
|
| similarity index 90%
|
| rename from Source/core/dom/custom/CustomElementCallbackDispatcher.h
|
| rename to Source/core/dom/custom/CustomElementProcessingStack.h
|
| index 34bd98e9160847d346258026449a5a68ded78d5d..1b6eb71de25845c0af7fcadaf40f6616db7e757e 100644
|
| --- a/Source/core/dom/custom/CustomElementCallbackDispatcher.h
|
| +++ b/Source/core/dom/custom/CustomElementProcessingStack.h
|
| @@ -28,8 +28,8 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef CustomElementCallbackDispatcher_h
|
| -#define CustomElementCallbackDispatcher_h
|
| +#ifndef CustomElementProcessingStack_h
|
| +#define CustomElementProcessingStack_h
|
|
|
| #include "core/dom/custom/CustomElementCallbackQueue.h"
|
| #include "wtf/Vector.h"
|
| @@ -38,10 +38,8 @@ namespace blink {
|
|
|
| class CustomElementScheduler;
|
|
|
| -// FIXME: Rename this CustomElementProcessingStack. It only handles
|
| -// the processing stack.
|
| -class CustomElementCallbackDispatcher {
|
| - WTF_MAKE_NONCOPYABLE(CustomElementCallbackDispatcher);
|
| +class CustomElementProcessingStack {
|
| + WTF_MAKE_NONCOPYABLE(CustomElementProcessingStack);
|
| public:
|
| // This is stack allocated in many DOM callbacks. Make it cheap.
|
| class CallbackDeliveryScope {
|
| @@ -67,11 +65,11 @@ public:
|
|
|
| protected:
|
| friend class CustomElementScheduler;
|
| - static CustomElementCallbackDispatcher& instance();
|
| + static CustomElementProcessingStack& instance();
|
| void enqueue(CustomElementCallbackQueue*);
|
|
|
| private:
|
| - CustomElementCallbackDispatcher()
|
| + CustomElementProcessingStack()
|
| {
|
| // Add a null element as a sentinel. This makes it possible to
|
| // identify elements queued when there is no
|
| @@ -106,4 +104,4 @@ private:
|
|
|
| }
|
|
|
| -#endif // CustomElementCallbackDispatcher_h
|
| +#endif // CustomElementProcessingStack_h
|
|
|