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

Unified Diff: third_party/WebKit/Source/core/xml/DocumentXSLT.h

Issue 2617103002: Use a new Supplement constructor for Supplement<Document> (Part 1) (Closed)
Patch Set: temp Created 3 years, 11 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/xml/DocumentXSLT.h
diff --git a/third_party/WebKit/Source/core/xml/DocumentXSLT.h b/third_party/WebKit/Source/core/xml/DocumentXSLT.h
index a1a72b34ba7f804f21907147be1c931c1d0b0e98..1b0971e61c55497d500a8afa5f0d4a13e4e90196 100644
--- a/third_party/WebKit/Source/core/xml/DocumentXSLT.h
+++ b/third_party/WebKit/Source/core/xml/DocumentXSLT.h
@@ -29,7 +29,7 @@ class DocumentXSLT final : public GarbageCollected<DocumentXSLT>,
m_transformSourceDocument = document;
}
- static DocumentXSLT& from(Supplementable<Document>&);
+ static DocumentXSLT& from(Document&);
static const char* supplementName();
// The following static methods don't use any instance of DocumentXSLT.
@@ -46,7 +46,7 @@ class DocumentXSLT final : public GarbageCollected<DocumentXSLT>,
DECLARE_VIRTUAL_TRACE();
private:
- DocumentXSLT();
+ explicit DocumentXSLT(Document&);
Member<Document> m_transformSourceDocument;
};

Powered by Google App Engine
This is Rietveld 408576698