Index: Source/core/css/MediaQuery.h |
diff --git a/Source/core/css/MediaQuery.h b/Source/core/css/MediaQuery.h |
index 96a7b7c2488080265b803258083a83dde32fc7da..fa5463ee7dff79b5abdc0a394c4fb28645822606 100644 |
--- a/Source/core/css/MediaQuery.h |
+++ b/Source/core/css/MediaQuery.h |
@@ -46,12 +46,12 @@ public: |
Only, Not, None |
}; |
- MediaQuery(Restrictor, const String& mediaType, PassOwnPtr<ExpressionVector> exprs); |
+ MediaQuery(Restrictor, const AtomicString& mediaType, PassOwnPtr<ExpressionVector> exprs); |
~MediaQuery(); |
Restrictor restrictor() const { return m_restrictor; } |
const ExpressionVector& expressions() const { return *m_expressions; } |
- String mediaType() const { return m_mediaType; } |
+ const AtomicString& mediaType() const { return m_mediaType; } |
Inactive
2013/12/09 19:10:59
We now use an AtomicString for the mediaType as th
|
bool operator==(const MediaQuery& other) const; |
String cssText() const; |
@@ -61,7 +61,7 @@ private: |
MediaQuery(const MediaQuery&); |
Restrictor m_restrictor; |
- String m_mediaType; |
+ AtomicString m_mediaType; |
OwnPtr<ExpressionVector> m_expressions; |
String m_serializationCache; |