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 05b28202cc61862d3bc9ee92c41c5b09a7819d2c..29971da33c84b537e0dbb6edc778d3c30ff6003b 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGStyleElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGStyleElement.cpp |
@@ -31,8 +31,8 @@ |
static SVGStyleEventSender& styleErrorEventSender() |
{ |
- DEFINE_STATIC_LOCAL(SVGStyleEventSender, sharedErrorEventSender, (SVGStyleEventSender::create(EventTypeNames::error))); |
- return sharedErrorEventSender; |
+ DEFINE_STATIC_LOCAL(Persistent<SVGStyleEventSender>, sharedErrorEventSender, (SVGStyleEventSender::create(EventTypeNames::error))); |
+ return *sharedErrorEventSender; |
} |
inline SVGStyleElement::SVGStyleElement(Document& document, bool createdByParser) |