Index: Source/core/dom/StyleElement.cpp |
diff --git a/Source/core/dom/StyleElement.cpp b/Source/core/dom/StyleElement.cpp |
index 55fd5310ed3580dae5e4b2b3aa709170ae555898..da39baae3936af7a501ae9eeeea8606615767170 100644 |
--- a/Source/core/dom/StyleElement.cpp |
+++ b/Source/core/dom/StyleElement.cpp |
@@ -133,7 +133,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); |