Index: third_party/WebKit/Source/core/css/MediaQueryEvaluator.h |
diff --git a/third_party/WebKit/Source/core/css/MediaQueryEvaluator.h b/third_party/WebKit/Source/core/css/MediaQueryEvaluator.h |
index dd8236997b5c591b4c2378951fcf43233e8ffd93..56588f3fc0d338a3c6813beacfdd1809d63cbdf6 100644 |
--- a/third_party/WebKit/Source/core/css/MediaQueryEvaluator.h |
+++ b/third_party/WebKit/Source/core/css/MediaQueryEvaluator.h |
@@ -61,18 +61,13 @@ class CORE_EXPORT MediaQueryEvaluator final |
public: |
static void init(); |
- // Creates evaluator which evaluates only simple media queries |
- // Evaluator returns true for "all", and returns value of \mediaFeatureResult |
- // for any media features. |
- |
- explicit MediaQueryEvaluator(bool mediaFeatureResult = false); |
+ // Creates evaluator which evaluates to true for all media queries. |
+ MediaQueryEvaluator() {} |
// Creates evaluator which evaluates only simple media queries |
- // Evaluator returns true for acceptedMediaType and returns value of |
- // \mediafeatureResult for any media features. |
- |
- MediaQueryEvaluator(const char* acceptedMediaType, |
- bool mediaFeatureResult = false); |
+ // Evaluator returns true for acceptedMediaType and returns true for any media |
+ // features. |
+ MediaQueryEvaluator(const char* acceptedMediaType); |
// Creates evaluator which evaluates full media queries. |
explicit MediaQueryEvaluator(LocalFrame*); |
@@ -106,7 +101,6 @@ class CORE_EXPORT MediaQueryEvaluator final |
const String mediaType() const; |
String m_mediaType; |
- bool m_expectedResult = false; |
Member<MediaValues> m_mediaValues; |
}; |