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

Unified Diff: third_party/WebKit/Source/core/html/HTMLContentElement.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/html/HTMLContentElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLContentElement.cpp b/third_party/WebKit/Source/core/html/HTMLContentElement.cpp
index e080d413a3226788e7cc65df7b2bd3ea20d7a455..baef05e41127ae4d41c5be1781fb3875d29e8614 100644
--- a/third_party/WebKit/Source/core/html/HTMLContentElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLContentElement.cpp
@@ -38,12 +38,12 @@ namespace blink {
using namespace HTMLNames;
-PassRefPtrWillBeRawPtr<HTMLContentElement> HTMLContentElement::create(Document& document, PassOwnPtrWillBeRawPtr<HTMLContentSelectFilter> filter)
+RawPtr<HTMLContentElement> HTMLContentElement::create(Document& document, RawPtr<HTMLContentSelectFilter> filter)
{
- return adoptRefWillBeNoop(new HTMLContentElement(document, filter));
+ return new HTMLContentElement(document, filter);
}
-inline HTMLContentElement::HTMLContentElement(Document& document, PassOwnPtrWillBeRawPtr<HTMLContentSelectFilter> filter)
+inline HTMLContentElement::HTMLContentElement(Document& document, RawPtr<HTMLContentSelectFilter> filter)
: InsertionPoint(contentTag, document)
, m_shouldParseSelect(false)
, m_isValidSelector(true)
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLContentElement.h ('k') | third_party/WebKit/Source/core/html/HTMLDataListElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698