Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(632)

Unified Diff: Source/core/css/MediaList.cpp

Issue 14408004: Fix incorrect evaluation of resolution media queries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/css/MediaList.cpp
diff --git a/Source/core/css/MediaList.cpp b/Source/core/css/MediaList.cpp
index 0b631c5937438bd6a8e7061f5e34aa5199ba59b0..0919df083f5e12830b304a89419a746fc9948fab 100644
--- a/Source/core/css/MediaList.cpp
+++ b/Source/core/css/MediaList.cpp
@@ -304,7 +304,6 @@ void MediaList::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
info.addMember(m_parentRule, "parentRule");
}
-#if ENABLE(RESOLUTION_MEDIA_QUERY)
static void addResolutionWarningMessageToConsole(Document* document, const String& serializedExpression, const CSSPrimitiveValue* value)
{
ASSERT(document);
@@ -359,6 +358,5 @@ void reportMediaQueryWarningIfNeeded(Document* document, const MediaQuerySet* me
}
}
}
-#endif
}

Powered by Google App Engine
This is Rietveld 408576698