Index: Source/core/dom/DOMImplementation.cpp |
diff --git a/Source/core/dom/DOMImplementation.cpp b/Source/core/dom/DOMImplementation.cpp |
index ff4574ad9e3935a24daf5f551d684c38e77cc3ef..87ed5dc350d5ee8e57a55c35de3dfaf43e3971a4 100644 |
--- a/Source/core/dom/DOMImplementation.cpp |
+++ b/Source/core/dom/DOMImplementation.cpp |
@@ -295,7 +295,7 @@ PassRefPtr<CSSStyleSheet> DOMImplementation::createCSSStyleSheet(const String&, |
// FIXME: Title should be set. |
// FIXME: Media could have wrong syntax, in which case we should generate an exception. |
RefPtr<CSSStyleSheet> sheet = CSSStyleSheet::create(StyleSheetContents::create()); |
- sheet->setMediaQueries(MediaQuerySet::createAllowingDescriptionSyntax(media)); |
+ sheet->setMediaQueries(MediaQuerySet::create(media)); |
return sheet; |
} |