Index: Source/core/css/MediaList.h |
diff --git a/Source/core/css/MediaList.h b/Source/core/css/MediaList.h |
index 554cba48a5b57db773a590d4581e7d8cc85db208..96b5af62fb529133dee87f46ac336e1360fac73f 100644 |
--- a/Source/core/css/MediaList.h |
+++ b/Source/core/css/MediaList.h |
@@ -36,21 +36,13 @@ class Document; |
class MediaList; |
class MediaQuery; |
-enum MediaQueryParserMode { |
- MediaQueryNormalMode, |
- MediaQueryStrictMode, |
-}; |
- |
class MediaQuerySet : public RefCounted<MediaQuerySet> { |
public: |
static PassRefPtr<MediaQuerySet> create() |
{ |
return adoptRef(new MediaQuerySet()); |
} |
- static PassRefPtr<MediaQuerySet> create(const String& mediaString) |
- { |
- return adoptRef(new MediaQuerySet(mediaString, MediaQueryNormalMode)); |
- } |
+ static PassRefPtr<MediaQuerySet> create(const String& mediaString); |
~MediaQuerySet(); |
bool set(const String&); |
@@ -72,16 +64,9 @@ public: |
private: |
MediaQuerySet(); |
- MediaQuerySet(const String& mediaQuery, MediaQueryParserMode); |
MediaQuerySet(const MediaQuerySet&); |
- PassOwnPtr<MediaQuery> parseMediaQuery(const String&, MediaQueryParserMode); |
- void parseMediaQueryList(const String&, MediaQueryParserMode, Vector<OwnPtr<MediaQuery> >& result); |
- |
- MediaQueryParserMode parserMode() const { return static_cast<MediaQueryParserMode>(m_parserMode); } |
- |
- unsigned m_parserMode : 2; |
- unsigned m_lastLine : 30; |
+ unsigned m_lastLine; |
Vector<OwnPtr<MediaQuery> > m_queries; |
}; |