| Index: Source/core/html/HTMLLinkElement.cpp
|
| diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp
|
| index 62d4669ae7d84d5afc6d2063d889d4a9a84f1754..11b6e831e8fb0ded139e773c875bb5ae0427450d 100644
|
| --- a/Source/core/html/HTMLLinkElement.cpp
|
| +++ b/Source/core/html/HTMLLinkElement.cpp
|
| @@ -722,7 +722,7 @@ void LinkStyle::process()
|
| bool mediaQueryMatches = true;
|
| LocalFrame* frame = loadingFrame();
|
| if (!m_owner->media().isEmpty() && frame && frame->document()) {
|
| - RefPtr<LayoutStyle> documentStyle = StyleResolver::styleForDocument(*frame->document());
|
| + RefPtr<ComputedStyle> documentStyle = StyleResolver::styleForDocument(*frame->document());
|
| RefPtrWillBeRawPtr<MediaQuerySet> media = MediaQuerySet::create(m_owner->media());
|
| MediaQueryEvaluator evaluator(frame);
|
| mediaQueryMatches = evaluator.eval(media.get());
|
|
|