| 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()));
|
|
|