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

Unified Diff: third_party/WebKit/Source/core/dom/CDATASection.cpp

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/CDATASection.cpp
diff --git a/third_party/WebKit/Source/core/dom/CDATASection.cpp b/third_party/WebKit/Source/core/dom/CDATASection.cpp
index ae7b886d48f22f62a1146cdc1bba910ba30ba99f..422c57b149a0d54fc3ae46179fae41ab60cd0b45 100644
--- a/third_party/WebKit/Source/core/dom/CDATASection.cpp
+++ b/third_party/WebKit/Source/core/dom/CDATASection.cpp
@@ -30,9 +30,9 @@ inline CDATASection::CDATASection(Document& document, const String& data)
{
}
-PassRefPtrWillBeRawPtr<CDATASection> CDATASection::create(Document& document, const String& data)
+RawPtr<CDATASection> CDATASection::create(Document& document, const String& data)
{
- return adoptRefWillBeNoop(new CDATASection(document, data));
+ return new CDATASection(document, data);
}
String CDATASection::nodeName() const
@@ -45,7 +45,7 @@ Node::NodeType CDATASection::getNodeType() const
return CDATA_SECTION_NODE;
}
-PassRefPtrWillBeRawPtr<Text> CDATASection::cloneWithData(const String& data)
+RawPtr<Text> CDATASection::cloneWithData(const String& data)
{
return create(document(), data);
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/CDATASection.h ('k') | third_party/WebKit/Source/core/dom/CSSSelectorWatch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698