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

Unified Diff: Source/core/dom/custom/CustomElementMicrotaskQueue.cpp

Issue 288323004: HTML Imports: Get rid of needsProcessOrStop() from dom/custom/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Renamed to isWaitingForCustomElementMicrosteps() Created 6 years, 7 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/CustomElementMicrotaskQueue.cpp
diff --git a/Source/core/dom/custom/CustomElementMicrotaskQueue.cpp b/Source/core/dom/custom/CustomElementMicrotaskQueue.cpp
index 236cc54517e4b50ba8a234fc1f357ed1f97ea2c3..4e2c25f87f411aaa9e0e5ef6cc08e5f4e6af7f67 100644
--- a/Source/core/dom/custom/CustomElementMicrotaskQueue.cpp
+++ b/Source/core/dom/custom/CustomElementMicrotaskQueue.cpp
@@ -103,16 +103,6 @@ CustomElementMicrotaskStep::Result CustomElementMicrotaskQueue::dispatch()
return accumulatedResult;
}
-bool CustomElementMicrotaskQueue::needsProcessOrStop() const
-{
- for (size_t i = 0; i < m_queue.size(); ++i) {
- if (m_queue[i]->needsProcessOrStop())
- return true;
- }
-
- return false;
-}
-
#if !defined(NDEBUG)
void CustomElementMicrotaskQueue::show(unsigned indent)
{

Powered by Google App Engine
This is Rietveld 408576698