| Index: third_party/WebKit/Source/core/svg/SVGStyleElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGStyleElement.cpp b/third_party/WebKit/Source/core/svg/SVGStyleElement.cpp
|
| index 329135305ae5b1b35bdf7aa20652f98864d87675..72491636c6abbd73ab7ad424309689a9f3cd353a 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGStyleElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGStyleElement.cpp
|
| @@ -31,7 +31,7 @@ namespace blink {
|
|
|
| static SVGStyleEventSender& styleErrorEventSender()
|
| {
|
| - DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<SVGStyleEventSender>, sharedErrorEventSender, (SVGStyleEventSender::create(EventTypeNames::error)));
|
| + DEFINE_STATIC_LOCAL(Persistent<SVGStyleEventSender>, sharedErrorEventSender, (SVGStyleEventSender::create(EventTypeNames::error)));
|
| return *sharedErrorEventSender;
|
| }
|
|
|
| @@ -50,9 +50,9 @@ SVGStyleElement::~SVGStyleElement()
|
| #endif
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<SVGStyleElement> SVGStyleElement::create(Document& document, bool createdByParser)
|
| +RawPtr<SVGStyleElement> SVGStyleElement::create(Document& document, bool createdByParser)
|
| {
|
| - return adoptRefWillBeNoop(new SVGStyleElement(document, createdByParser));
|
| + return new SVGStyleElement(document, createdByParser);
|
| }
|
|
|
| bool SVGStyleElement::disabled() const
|
|
|