OLD | NEW |
1 /* | 1 /* |
2 * CSS Media Query | 2 * CSS Media Query |
3 * | 3 * |
4 * Copyright (C) 2005, 2006 Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com>. | 4 * Copyright (C) 2005, 2006 Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com>. |
5 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 5 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
6 * | 6 * |
7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
9 * are met: | 9 * are met: |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 String MediaQuery::cssText() const | 128 String MediaQuery::cssText() const |
129 { | 129 { |
130 if (m_serializationCache.isNull()) | 130 if (m_serializationCache.isNull()) |
131 const_cast<MediaQuery*>(this)->m_serializationCache = serialize(); | 131 const_cast<MediaQuery*>(this)->m_serializationCache = serialize(); |
132 | 132 |
133 return m_serializationCache; | 133 return m_serializationCache; |
134 } | 134 } |
135 | 135 |
136 DEFINE_TRACE(MediaQuery) | 136 DEFINE_TRACE(MediaQuery) |
137 { | 137 { |
138 // We don't support tracing of vectors of OwnPtrs (ie. OwnPtr<Vector<OwnPtr<
MediaQuery> > >). | 138 // We don't support tracing of vectors of OwnPtrs (ie. OwnPtr<Vector<OwnPtr<
MediaQuery>>>). |
139 // Since this is a transitional object we are just ifdef'ing it out when oil
pan is not enabled. | 139 // Since this is a transitional object we are just ifdef'ing it out when oil
pan is not enabled. |
140 #if ENABLE(OILPAN) | 140 #if ENABLE(OILPAN) |
141 visitor->trace(m_expressions); | 141 visitor->trace(m_expressions); |
142 #endif | 142 #endif |
143 } | 143 } |
144 | 144 |
145 } | 145 } |
OLD | NEW |