Index: Source/core/html/parser/HTMLResourcePreloader.cpp |
diff --git a/Source/core/html/parser/HTMLResourcePreloader.cpp b/Source/core/html/parser/HTMLResourcePreloader.cpp |
index 4af7b11b4579ed9be804c1fcf6c823f0349004fd..768b567be72da992a169723f2e0eda152e274aef 100644 |
--- a/Source/core/html/parser/HTMLResourcePreloader.cpp |
+++ b/Source/core/html/parser/HTMLResourcePreloader.cpp |
@@ -71,7 +71,7 @@ void HTMLResourcePreloader::takeAndPreload(PreloadRequestStream& r) |
static bool mediaAttributeMatches(Frame* frame, RenderStyle* renderStyle, const String& attributeValue) |
{ |
- RefPtr<MediaQuerySet> mediaQueries = MediaQuerySet::createAllowingDescriptionSyntax(attributeValue); |
+ RefPtr<MediaQuerySet> mediaQueries = MediaQuerySet::create(attributeValue); |
MediaQueryEvaluator mediaQueryEvaluator("screen", frame, renderStyle); |
return mediaQueryEvaluator.eval(mediaQueries.get()); |
} |