Chromium Code Reviews| 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 92% |
| rename from Source/core/dom/custom/CustomElementCallbackDispatcher.h |
| rename to Source/core/dom/custom/CustomElementProcessingStack.h |
| index 34bd98e9160847d346258026449a5a68ded78d5d..8d2afd5e50cfabdecdaa908cf3ad2fc45adec741 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" |
| @@ -40,8 +40,8 @@ class CustomElementScheduler; |
| // FIXME: Rename this CustomElementProcessingStack. It only handles |
|
dominicc (has gone to gerrit)
2014/08/27 20:20:23
You should remove this, naturally.
deepak.sa
2014/08/28 07:02:42
Oops. Sorry!
|
| // 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 +67,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 +106,4 @@ private: |
| } |
| -#endif // CustomElementCallbackDispatcher_h |
| +#endif // CustomElementProcessingStack_h |