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

Unified Diff: third_party/WebKit/Source/core/dom/DOMImplementation.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/DOMImplementation.h
diff --git a/third_party/WebKit/Source/core/dom/DOMImplementation.h b/third_party/WebKit/Source/core/dom/DOMImplementation.h
index 1152a1887bd66f18f1b04ad1e41fc511d9b7cf7a..be6c45c24bd8cc4a5cab377f37196b8c418507b0 100644
--- a/third_party/WebKit/Source/core/dom/DOMImplementation.h
+++ b/third_party/WebKit/Source/core/dom/DOMImplementation.h
@@ -39,13 +39,12 @@ class HTMLDocument;
class KURL;
class XMLDocument;
-class CORE_EXPORT DOMImplementation final : public NoBaseWillBeGarbageCollected<DOMImplementation>, public ScriptWrappable {
+class CORE_EXPORT DOMImplementation final : public GarbageCollected<DOMImplementation>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
- USING_FAST_MALLOC_WILL_BE_REMOVED(DOMImplementation);
public:
- static PassOwnPtrWillBeRawPtr<DOMImplementation> create(Document& document)
+ static RawPtr<DOMImplementation> create(Document& document)
{
- return adoptPtrWillBeNoop(new DOMImplementation(document));
+ return new DOMImplementation(document);
}
#if !ENABLE(OILPAN)
@@ -56,14 +55,14 @@ public:
// DOM methods & attributes for DOMImplementation
bool hasFeature() { return true; }
- PassRefPtrWillBeRawPtr<DocumentType> createDocumentType(const AtomicString& qualifiedName, const String& publicId, const String& systemId, ExceptionState&);
- PassRefPtrWillBeRawPtr<XMLDocument> createDocument(const AtomicString& namespaceURI, const AtomicString& qualifiedName, DocumentType*, ExceptionState&);
+ RawPtr<DocumentType> createDocumentType(const AtomicString& qualifiedName, const String& publicId, const String& systemId, ExceptionState&);
+ RawPtr<XMLDocument> createDocument(const AtomicString& namespaceURI, const AtomicString& qualifiedName, DocumentType*, ExceptionState&);
// From the HTMLDOMImplementation interface
- PassRefPtrWillBeRawPtr<HTMLDocument> createHTMLDocument(const String& title);
+ RawPtr<HTMLDocument> createHTMLDocument(const String& title);
// Other methods (not part of DOM)
- static PassRefPtrWillBeRawPtr<Document> createDocument(const String& mimeType, const DocumentInit&, bool inViewSourceMode);
+ static RawPtr<Document> createDocument(const String& mimeType, const DocumentInit&, bool inViewSourceMode);
static bool isXMLMIMEType(const String&);
static bool isTextMIMEType(const String&);
@@ -74,7 +73,7 @@ public:
private:
explicit DOMImplementation(Document&);
- RawPtrWillBeMember<Document> m_document;
+ Member<Document> m_document;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698