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

Unified Diff: third_party/WebKit/Source/core/dom/XMLDocument.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/dom/XMLDocument.h
diff --git a/third_party/WebKit/Source/core/dom/XMLDocument.h b/third_party/WebKit/Source/core/dom/XMLDocument.h
index abd24082d5203fc02df084831d8718268d387239..783703786a7e53456177f21aae07edfd434e4b62 100644
--- a/third_party/WebKit/Source/core/dom/XMLDocument.h
+++ b/third_party/WebKit/Source/core/dom/XMLDocument.h
@@ -34,19 +34,19 @@ namespace blink {
class XMLDocument final : public Document {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<XMLDocument> create(const DocumentInit& initializer = DocumentInit())
+ static RawPtr<XMLDocument> create(const DocumentInit& initializer = DocumentInit())
{
- return adoptRefWillBeNoop(new XMLDocument(initializer, XMLDocumentClass));
+ return new XMLDocument(initializer, XMLDocumentClass);
}
- static PassRefPtrWillBeRawPtr<XMLDocument> createXHTML(const DocumentInit& initializer = DocumentInit())
+ static RawPtr<XMLDocument> createXHTML(const DocumentInit& initializer = DocumentInit())
{
- return adoptRefWillBeNoop(new XMLDocument(initializer, XMLDocumentClass | XHTMLDocumentClass));
+ return new XMLDocument(initializer, XMLDocumentClass | XHTMLDocumentClass);
}
- static PassRefPtrWillBeRawPtr<XMLDocument> createSVG(const DocumentInit& initializer = DocumentInit())
+ static RawPtr<XMLDocument> createSVG(const DocumentInit& initializer = DocumentInit())
{
- return adoptRefWillBeNoop(new XMLDocument(initializer, XMLDocumentClass | SVGDocumentClass));
+ return new XMLDocument(initializer, XMLDocumentClass | SVGDocumentClass);
}
protected:
« no previous file with comments | « third_party/WebKit/Source/core/dom/VisitedLinkState.h ('k') | third_party/WebKit/Source/core/dom/custom/CustomElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698