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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentType.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, 10 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/DocumentType.h
diff --git a/third_party/WebKit/Source/core/dom/DocumentType.h b/third_party/WebKit/Source/core/dom/DocumentType.h
index f4b7c1565fa6f86d47d9ed07f6e060825590da12..226dacb7109ab1c58129b5ce0ea5a9cf9fd56c83 100644
--- a/third_party/WebKit/Source/core/dom/DocumentType.h
+++ b/third_party/WebKit/Source/core/dom/DocumentType.h
@@ -31,9 +31,9 @@ namespace blink {
class DocumentType final : public Node {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<DocumentType> create(Document* document, const String& name, const String& publicId, const String& systemId)
+ static RawPtr<DocumentType> create(Document* document, const String& name, const String& publicId, const String& systemId)
{
- return adoptRefWillBeNoop(new DocumentType(document, name, publicId, systemId));
+ return (new DocumentType(document, name, publicId, systemId));
}
const String& name() const { return m_name; }
@@ -45,7 +45,7 @@ private:
String nodeName() const override;
NodeType nodeType() const override;
- PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep) override;
+ RawPtr<Node> cloneNode(bool deep) override;
InsertionNotificationRequest insertedInto(ContainerNode*) override;
void removedFrom(ContainerNode*) override;

Powered by Google App Engine
This is Rietveld 408576698