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

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

Issue 238923009: HTML Imports: No more BlockingDocumentCreation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased to ToT. Created 6 years, 8 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/CustomElementMicrotaskDispatcher.h
diff --git a/Source/core/dom/custom/CustomElementMicrotaskDispatcher.h b/Source/core/dom/custom/CustomElementMicrotaskDispatcher.h
index 2d24e9e8504766c91ffc9d6d8b12685018d9c006..effdc042defc4a2b5e0e148ee51108a69f7d22ac 100644
--- a/Source/core/dom/custom/CustomElementMicrotaskDispatcher.h
+++ b/Source/core/dom/custom/CustomElementMicrotaskDispatcher.h
@@ -15,7 +15,7 @@ namespace WebCore {
class CustomElementCallbackQueue;
class CustomElementMicrotaskImportStep;
class CustomElementMicrotaskStep;
-class HTMLImport;
+class HTMLImportLoader;
class CustomElementMicrotaskDispatcher {
WTF_MAKE_NONCOPYABLE(CustomElementMicrotaskDispatcher);
@@ -24,7 +24,7 @@ public:
static CustomElementMicrotaskDispatcher& instance();
- void enqueue(HTMLImport*, PassOwnPtr<CustomElementMicrotaskStep>);
+ void enqueue(HTMLImportLoader*, PassOwnPtr<CustomElementMicrotaskStep>);
void enqueue(CustomElementCallbackQueue*);
void importDidFinish(CustomElementMicrotaskImportStep*);
@@ -46,7 +46,7 @@ private:
DispatchingCallbacks
} m_phase;
- CustomElementMicrotaskQueue m_resolutionAndImports;
+ RefPtr<CustomElementMicrotaskQueue> m_resolutionAndImports;
Vector<CustomElementCallbackQueue*> m_elements;
};

Powered by Google App Engine
This is Rietveld 408576698