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

Unified Diff: third_party/WebKit/Source/core/html/imports/HTMLImportChild.cpp

Issue 1914923002: Rename all existing custom element classes as V0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CustomElementV0 -> V0CustomElement Created 4 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: third_party/WebKit/Source/core/html/imports/HTMLImportChild.cpp
diff --git a/third_party/WebKit/Source/core/html/imports/HTMLImportChild.cpp b/third_party/WebKit/Source/core/html/imports/HTMLImportChild.cpp
index 28cc351400c4c5db26ceeeb4413d1d5c464f3683..33bca1d774e394809ffffd26cbc2b0b84802aea0 100644
--- a/third_party/WebKit/Source/core/html/imports/HTMLImportChild.cpp
+++ b/third_party/WebKit/Source/core/html/imports/HTMLImportChild.cpp
@@ -33,9 +33,9 @@
#include "core/css/StyleSheetList.h"
#include "core/dom/Document.h"
#include "core/dom/StyleEngine.h"
-#include "core/dom/custom/CustomElement.h"
-#include "core/dom/custom/CustomElementMicrotaskImportStep.h"
-#include "core/dom/custom/CustomElementSyncMicrotaskQueue.h"
+#include "core/dom/custom/V0CustomElement.h"
+#include "core/dom/custom/V0CustomElementMicrotaskImportStep.h"
+#include "core/dom/custom/V0CustomElementSyncMicrotaskQueue.h"
#include "core/frame/UseCounter.h"
#include "core/html/imports/HTMLImportChildClient.h"
#include "core/html/imports/HTMLImportLoader.h"
@@ -85,7 +85,7 @@ void HTMLImportChild::didFinishLoading()
stateWillChange();
if (document() && document()->styleSheets()->length() > 0)
UseCounter::count(root()->document(), UseCounter::HTMLImportsHasStyleSheets);
- CustomElement::didFinishLoadingImport(*(root()->document()));
+ V0CustomElement::didFinishLoadingImport(*(root()->document()));
}
void HTMLImportChild::didFinishUpgradingCustomElements()
@@ -142,7 +142,7 @@ void HTMLImportChild::createCustomElementMicrotaskStepIfNeeded()
ASSERT(!m_customElementMicrotaskStep);
if (!hasFinishedLoading() && !formsCycle()) {
- m_customElementMicrotaskStep = CustomElement::didCreateImport(this);
+ m_customElementMicrotaskStep = V0CustomElement::didCreateImport(this);
}
}

Powered by Google App Engine
This is Rietveld 408576698