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

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, 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/DocumentType.h
diff --git a/third_party/WebKit/Source/core/dom/DocumentType.h b/third_party/WebKit/Source/core/dom/DocumentType.h
index 85718c13010d7bb9024dc96a056f9bef04902d1c..e541501ec573bf33496c97e5190dbd4fbec16aae 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 getNodeType() const override;
- PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep) override;
+ RawPtr<Node> cloneNode(bool deep) override;
InsertionNotificationRequest insertedInto(ContainerNode*) override;
void removedFrom(ContainerNode*) override;
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentTiming.h ('k') | third_party/WebKit/Source/core/dom/DocumentType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698