Index: third_party/WebKit/Source/core/dom/custom/V0CustomElementProcessingStack.h |
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementProcessingStack.h b/third_party/WebKit/Source/core/dom/custom/V0CustomElementProcessingStack.h |
similarity index 81% |
rename from third_party/WebKit/Source/core/dom/custom/CustomElementProcessingStack.h |
rename to third_party/WebKit/Source/core/dom/custom/V0CustomElementProcessingStack.h |
index 44ee3c8a7ae9ded895210ea79e59b680b1a7f9e5..247dd293f921d8b957e092e9b88a871dd8f0cb9b 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementProcessingStack.h |
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementProcessingStack.h |
@@ -28,17 +28,17 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef CustomElementProcessingStack_h |
-#define CustomElementProcessingStack_h |
+#ifndef V0CustomElementProcessingStack_h |
+#define V0CustomElementProcessingStack_h |
#include "core/CoreExport.h" |
-#include "core/dom/custom/CustomElementCallbackQueue.h" |
+#include "core/dom/custom/V0CustomElementCallbackQueue.h" |
#include "wtf/Vector.h" |
namespace blink { |
-class CORE_EXPORT CustomElementProcessingStack : public GarbageCollectedFinalized<CustomElementProcessingStack> { |
- WTF_MAKE_NONCOPYABLE(CustomElementProcessingStack); |
+class CORE_EXPORT V0CustomElementProcessingStack : public GarbageCollectedFinalized<V0CustomElementProcessingStack> { |
+ WTF_MAKE_NONCOPYABLE(V0CustomElementProcessingStack); |
public: |
// This is stack allocated in many DOM callbacks. Make it cheap. |
class CallbackDeliveryScope { |
@@ -63,20 +63,20 @@ public: |
static bool inCallbackDeliveryScope() { return s_elementQueueStart; } |
- static CustomElementProcessingStack& instance(); |
- void enqueue(CustomElementCallbackQueue*); |
+ static V0CustomElementProcessingStack& instance(); |
+ void enqueue(V0CustomElementCallbackQueue*); |
DECLARE_TRACE(); |
private: |
- CustomElementProcessingStack() |
+ V0CustomElementProcessingStack() |
{ |
// Add a null element as a sentinel. This makes it possible to |
// identify elements queued when there is no |
// CallbackDeliveryScope active. Also, if the processing stack |
// is popped when empty, this sentinel will cause a null deref |
// crash. |
- CustomElementCallbackQueue* sentinel = 0; |
+ V0CustomElementCallbackQueue* sentinel = 0; |
for (size_t i = 0; i < kNumSentinels; i++) |
m_flattenedProcessingStack.append(sentinel); |
DCHECK_EQ(s_elementQueueEnd, m_flattenedProcessingStack.size()); |
@@ -90,7 +90,7 @@ private: |
// stack. A cache of instance().m_flattenedProcessingStack.size(). |
static size_t s_elementQueueEnd; |
- static CustomElementCallbackQueue::ElementQueueId currentElementQueue() { return CustomElementCallbackQueue::ElementQueueId(s_elementQueueStart); } |
+ static V0CustomElementCallbackQueue::ElementQueueId currentElementQueue() { return V0CustomElementCallbackQueue::ElementQueueId(s_elementQueueStart); } |
static void processElementQueueAndPop(); |
void processElementQueueAndPop(size_t start, size_t end); |
@@ -99,9 +99,9 @@ private: |
// stack appear toward the head of the vector. The first element |
// is a null sentinel value. |
static const size_t kNumSentinels = 1; |
- HeapVector<Member<CustomElementCallbackQueue>> m_flattenedProcessingStack; |
+ HeapVector<Member<V0CustomElementCallbackQueue>> m_flattenedProcessingStack; |
}; |
} // namespace blink |
-#endif // CustomElementProcessingStack_h |
+#endif // V0CustomElementProcessingStack_h |