Index: Source/core/css/MediaQueryMatcher.cpp |
diff --git a/Source/core/css/MediaQueryMatcher.cpp b/Source/core/css/MediaQueryMatcher.cpp |
index 8f303a72d9ae33a4ca75088f702d6a55cc314ee6..13c2a8531ed072322e335a15d78d4d5d6931166f 100644 |
--- a/Source/core/css/MediaQueryMatcher.cpp |
+++ b/Source/core/css/MediaQueryMatcher.cpp |
@@ -108,10 +108,8 @@ PassRefPtr<MediaQueryList> MediaQueryMatcher::matchMedia(const String& query) |
return 0; |
RefPtr<MediaQuerySet> media = MediaQuerySet::create(query); |
-#if ENABLE(RESOLUTION_MEDIA_QUERY) |
// Add warning message to inspector whenever dpi/dpcm values are used for "screen" media. |
reportMediaQueryWarningIfNeeded(m_document, media.get()); |
-#endif |
return MediaQueryList::create(this, media, evaluate(media.get())); |
} |