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

Unified Diff: third_party/WebKit/Source/core/html/HTMLSummaryElement.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/HTMLSummaryElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp b/third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp
index 5a7a5b91133c2c7c1ef7626c691f7f482006a78a..7439e4518107d80a9570d0da704b361120c77a7a 100644
--- a/third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp
@@ -35,9 +35,9 @@ namespace blink {
using namespace HTMLNames;
-PassRefPtrWillBeRawPtr<HTMLSummaryElement> HTMLSummaryElement::create(Document& document)
+RawPtr<HTMLSummaryElement> HTMLSummaryElement::create(Document& document)
{
- RefPtrWillBeRawPtr<HTMLSummaryElement> summary = adoptRefWillBeNoop(new HTMLSummaryElement(document));
+ RawPtr<HTMLSummaryElement> summary = new HTMLSummaryElement(document);
summary->ensureUserAgentShadowRoot();
return summary.release();
}
@@ -54,7 +54,7 @@ LayoutObject* HTMLSummaryElement::createLayoutObject(const ComputedStyle&)
void HTMLSummaryElement::didAddUserAgentShadowRoot(ShadowRoot& root)
{
- RefPtrWillBeRawPtr<DetailsMarkerControl> markerControl = DetailsMarkerControl::create(document());
+ RawPtr<DetailsMarkerControl> markerControl = DetailsMarkerControl::create(document());
markerControl->setIdAttribute(ShadowElementNames::detailsMarker());
root.appendChild(markerControl);
root.appendChild(HTMLContentElement::create(document()));
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLSummaryElement.h ('k') | third_party/WebKit/Source/core/html/HTMLTableElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698