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

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

Issue 106903007: Let unresolved custom element go through CustomElementCallbackQueue. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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/CustomElementCallbackQueue.h
diff --git a/Source/core/dom/custom/CustomElementCallbackQueue.h b/Source/core/dom/custom/CustomElementCallbackQueue.h
index 269bfd29d4a819302512b2d232670480b6568371..1ecdd9580dffa019c7207c6eae6422403740d766 100644
--- a/Source/core/dom/custom/CustomElementCallbackQueue.h
+++ b/Source/core/dom/custom/CustomElementCallbackQueue.h
@@ -32,7 +32,7 @@
#define CustomElementCallbackQueue_h
#include "core/dom/Element.h"
-#include "core/dom/custom/CustomElementCallbackInvocation.h"
+#include "core/dom/custom/CustomElementInvocation.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefPtr.h"
@@ -40,6 +40,7 @@
namespace WebCore {
+// FIXME: Probably this should be renamed to CustomElementInvocationQueue
dominicc (has gone to gerrit) 2013/12/13 05:11:16 Let's do the renaming in a follow-up changelist.
class CustomElementCallbackQueue {
WTF_MAKE_NONCOPYABLE(CustomElementCallbackQueue);
public:
@@ -55,7 +56,7 @@ public:
m_owner = newOwner;
}
- void append(PassOwnPtr<CustomElementCallbackInvocation> invocation) { m_queue.append(invocation); }
+ void append(PassOwnPtr<CustomElementInvocation> invocation) { m_queue.append(invocation); }
void processInElementQueue(ElementQueue);
bool inCreatedCallback() const { return m_inCreatedCallback; }
@@ -63,7 +64,7 @@ private:
CustomElementCallbackQueue(PassRefPtr<Element>);
RefPtr<Element> m_element;
- Vector<OwnPtr<CustomElementCallbackInvocation> > m_queue;
+ Vector<OwnPtr<CustomElementInvocation> > m_queue;
ElementQueue m_owner;
size_t m_index;
bool m_inCreatedCallback;

Powered by Google App Engine
This is Rietveld 408576698