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

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

Issue 335313003: MediaQueryEvaluator getting mediaType from MediaValues (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added a comment Created 6 years, 6 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
« no previous file with comments | « Source/core/css/MediaValuesDynamic.cpp ('k') | Source/core/css/parser/SizesAttributeParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/StyleMedia.cpp
diff --git a/Source/core/css/StyleMedia.cpp b/Source/core/css/StyleMedia.cpp
index c18d26c592c1b614c9be819b47102fefa22d6425..915267e5ecd9b8d1422cda22ad8e49d2283c0247 100644
--- a/Source/core/css/StyleMedia.cpp
+++ b/Source/core/css/StyleMedia.cpp
@@ -63,7 +63,7 @@ bool StyleMedia::matchMedium(const String& query) const
if (!media->set(query))
return false;
- MediaQueryEvaluator screenEval(type(), m_frame);
+ MediaQueryEvaluator screenEval(m_frame);
return screenEval.eval(media.get());
}
« no previous file with comments | « Source/core/css/MediaValuesDynamic.cpp ('k') | Source/core/css/parser/SizesAttributeParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698