| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2006, 2010, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2006, 2010, 2012 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 { | 225 { |
| 226 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); | 226 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); |
| 227 info.addMember(m_queries, "queries"); | 227 info.addMember(m_queries, "queries"); |
| 228 } | 228 } |
| 229 | 229 |
| 230 DEFINE_GC_TYPE_MARKER(MediaList); | 230 DEFINE_GC_TYPE_MARKER(MediaList); |
| 231 | 231 |
| 232 MediaList::MediaList(const Handle<MediaQuerySet>& mediaQueries, const Handle<CSS
StyleSheet>& parentSheet) | 232 MediaList::MediaList(const Handle<MediaQuerySet>& mediaQueries, const Handle<CSS
StyleSheet>& parentSheet) |
| 233 : m_mediaQueries(mediaQueries) | 233 : m_mediaQueries(mediaQueries) |
| 234 , m_parentStyleSheet(parentSheet) | 234 , m_parentStyleSheet(parentSheet) |
| 235 , m_parentRule(0) | |
| 236 { | 235 { |
| 237 } | 236 } |
| 238 | 237 |
| 239 MediaList::MediaList(const Handle<MediaQuerySet>& mediaQueries, const Handle<CSS
Rule>& parentRule) | 238 MediaList::MediaList(const Handle<MediaQuerySet>& mediaQueries, const Handle<CSS
Rule>& parentRule) |
| 240 : m_mediaQueries(mediaQueries) | 239 : m_mediaQueries(mediaQueries) |
| 241 , m_parentStyleSheet(0) | |
| 242 , m_parentRule(parentRule) | 240 , m_parentRule(parentRule) |
| 243 { | 241 { |
| 244 } | 242 } |
| 245 | 243 |
| 246 MediaList::~MediaList() | 244 MediaList::~MediaList() |
| 247 { | 245 { |
| 248 } | 246 } |
| 249 | 247 |
| 250 void MediaList::setMediaText(const String& value, ExceptionCode& ec) | 248 void MediaList::setMediaText(const String& value, ExceptionCode& ec) |
| 251 { | 249 { |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 addResolutionWarningMessageToConsole(document, media
QuerySet->mediaText(), primitiveValue); | 365 addResolutionWarningMessageToConsole(document, media
QuerySet->mediaText(), primitiveValue); |
| 368 } | 366 } |
| 369 } | 367 } |
| 370 } | 368 } |
| 371 } | 369 } |
| 372 } | 370 } |
| 373 } | 371 } |
| 374 #endif | 372 #endif |
| 375 | 373 |
| 376 } | 374 } |
| OLD | NEW |