| Index: Source/core/dom/StyleElement.cpp
|
| diff --git a/Source/core/dom/StyleElement.cpp b/Source/core/dom/StyleElement.cpp
|
| index e744c9bc4318c1a673edc918f33598ba05c8b534..e78a4c3d654cedf0dd20023ddab18014785655fe 100644
|
| --- a/Source/core/dom/StyleElement.cpp
|
| +++ b/Source/core/dom/StyleElement.cpp
|
| @@ -130,7 +130,7 @@ void StyleElement::createSheet(Element* e, const String& text)
|
| const AtomicString& type = this->type();
|
| bool passesContentSecurityPolicyChecks = document.contentSecurityPolicy()->allowStyleHash(text) || document.contentSecurityPolicy()->allowStyleNonce(e->fastGetAttribute(HTMLNames::nonceAttr)) || document.contentSecurityPolicy()->allowInlineStyle(e->document().url(), m_startPosition.m_line);
|
| if (isCSS(e, type) && passesContentSecurityPolicyChecks) {
|
| - RefPtr<MediaQuerySet> mediaQueries = MediaQuerySet::create(media());
|
| + RefPtrWillBeRawPtr<MediaQuerySet> mediaQueries = MediaQuerySet::create(media());
|
|
|
| MediaQueryEvaluator screenEval("screen", true);
|
| MediaQueryEvaluator printEval("print", true);
|
|
|