Index: Source/core/html/HTMLLinkElement.cpp |
diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp |
index 11257d8cbd118da2b48794182e2fbeb9f6214b83..c58dac0728b951179d1c379381382e8ba43e4f52 100644 |
--- a/Source/core/html/HTMLLinkElement.cpp |
+++ b/Source/core/html/HTMLLinkElement.cpp |
@@ -653,7 +653,7 @@ void LinkStyle::process() |
if (Document* document = loadingFrame()->document()) { |
RefPtr<RenderStyle> documentStyle = StyleResolver::styleForDocument(*document); |
RefPtrWillBeRawPtr<MediaQuerySet> media = MediaQuerySet::create(m_owner->media()); |
- MediaQueryEvaluator evaluator(frame->view()->mediaType(), frame, documentStyle.get()); |
+ MediaQueryEvaluator evaluator(frame->view()->mediaType(), frame); |
mediaQueryMatches = evaluator.eval(media.get()); |
} |
} |