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

Unified Diff: Source/core/html/imports/HTMLImportLoader.cpp

Issue 334253005: Custom Elements: Encapsulates Async and Sync Queues into one class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 6 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/html/imports/HTMLImportLoader.cpp
diff --git a/Source/core/html/imports/HTMLImportLoader.cpp b/Source/core/html/imports/HTMLImportLoader.cpp
index ac323c276bdaf2a739d17629d1b185c96d79ec1b..3b4d138babe850f0dafebf0e619cd335f29f6cb0 100644
--- a/Source/core/html/imports/HTMLImportLoader.cpp
+++ b/Source/core/html/imports/HTMLImportLoader.cpp
@@ -33,7 +33,7 @@
#include "core/dom/Document.h"
#include "core/dom/StyleEngine.h"
-#include "core/dom/custom/CustomElementMicrotaskQueue.h"
+#include "core/dom/custom/CustomElementSyncMicrotaskQueue.h"
#include "core/html/HTMLDocument.h"
#include "core/html/imports/HTMLImportChild.h"
#include "core/html/imports/HTMLImportsController.h"
@@ -46,7 +46,7 @@ namespace WebCore {
HTMLImportLoader::HTMLImportLoader(HTMLImportsController* controller)
: m_controller(controller)
, m_state(StateLoading)
- , m_microtaskQueue(CustomElementMicrotaskQueue::create())
+ , m_microtaskQueue(CustomElementSyncMicrotaskQueue::create())
{
}
@@ -210,7 +210,7 @@ bool HTMLImportLoader::shouldBlockScriptExecution() const
return firstImport()->state().shouldBlockScriptExecution();
}
-PassRefPtrWillBeRawPtr<CustomElementMicrotaskQueue> HTMLImportLoader::microtaskQueue() const
+PassRefPtrWillBeRawPtr<CustomElementSyncMicrotaskQueue> HTMLImportLoader::microtaskQueue() const
{
return m_microtaskQueue;
}

Powered by Google App Engine
This is Rietveld 408576698