| Index: third_party/WebKit/Source/core/html/LinkStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/LinkStyle.cpp b/third_party/WebKit/Source/core/html/LinkStyle.cpp
|
| index 1e70376b085b71e0f6af6f9c927b52a00195cbe3..37ae8541c209c0802f85dfbae948e2f06e370829 100644
|
| --- a/third_party/WebKit/Source/core/html/LinkStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/html/LinkStyle.cpp
|
| @@ -305,9 +305,9 @@ LinkStyle::LoadReturnValue LinkStyle::LoadStylesheetIfNeeded(
|
| bool media_query_matches = true;
|
| LocalFrame* frame = LoadingFrame();
|
| if (!owner_->Media().IsEmpty() && frame) {
|
| - MediaQuerySet* media = MediaQuerySet::Create(owner_->Media());
|
| + RefPtr<MediaQuerySet> media = MediaQuerySet::Create(owner_->Media());
|
| MediaQueryEvaluator evaluator(frame);
|
| - media_query_matches = evaluator.Eval(media);
|
| + media_query_matches = evaluator.Eval(*media);
|
| }
|
|
|
| // Don't hold up layout tree construction and script execution on
|
|
|