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

Unified Diff: Source/core/xml/DocumentXSLT.cpp

Issue 1060813005: Componentization: fix SupplementTracing<0>::~SupplementTracing<0>(void) already defined. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/core/xml/DocumentXSLT.h ('k') | Source/modules/credentialmanager/CredentialManagerClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/DocumentXSLT.cpp
diff --git a/Source/core/xml/DocumentXSLT.cpp b/Source/core/xml/DocumentXSLT.cpp
index e689e9a44aa431282f5b04e1579d912026dea66c..facd39986a92665b2a3a5fd7c4dd44fa9c7d490c 100644
--- a/Source/core/xml/DocumentXSLT.cpp
+++ b/Source/core/xml/DocumentXSLT.cpp
@@ -182,16 +182,16 @@ const char* DocumentXSLT::supplementName()
bool DocumentXSLT::hasTransformSourceDocument(Document& document)
{
- return static_cast<DocumentXSLT*>(DocumentSupplement::from(document, supplementName()));
+ return static_cast<DocumentXSLT*>(WillBeHeapSupplement<Document>::from(document, supplementName()));
}
-DocumentXSLT& DocumentXSLT::from(DocumentSupplementable& document)
+DocumentXSLT& DocumentXSLT::from(WillBeHeapSupplementable<Document>& document)
{
- DocumentXSLT* supplement = static_cast<DocumentXSLT*>(DocumentSupplement::from(document, supplementName()));
+ DocumentXSLT* supplement = static_cast<DocumentXSLT*>(WillBeHeapSupplement<Document>::from(document, supplementName()));
if (!supplement) {
supplement = new DocumentXSLT();
- DocumentSupplement::provideTo(document, supplementName(), adoptPtrWillBeNoop(supplement));
+ WillBeHeapSupplement<Document>::provideTo(document, supplementName(), adoptPtrWillBeNoop(supplement));
}
return *supplement;
}
@@ -199,7 +199,7 @@ DocumentXSLT& DocumentXSLT::from(DocumentSupplementable& document)
DEFINE_TRACE(DocumentXSLT)
{
visitor->trace(m_transformSourceDocument);
- DocumentSupplement::trace(visitor);
+ WillBeHeapSupplement<Document>::trace(visitor);
}
} // namespace blink
« no previous file with comments | « Source/core/xml/DocumentXSLT.h ('k') | Source/modules/credentialmanager/CredentialManagerClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698