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, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. | 4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 if (changed) | 258 if (changed) |
259 mutationScope.enqueueMutationRecord(); | 259 mutationScope.enqueueMutationRecord(); |
260 } | 260 } |
261 | 261 |
262 StyleSheetContents* AbstractPropertySetCSSStyleDeclaration::contextStyleSheet()
const | 262 StyleSheetContents* AbstractPropertySetCSSStyleDeclaration::contextStyleSheet()
const |
263 { | 263 { |
264 CSSStyleSheet* cssStyleSheet = parentStyleSheet(); | 264 CSSStyleSheet* cssStyleSheet = parentStyleSheet(); |
265 return cssStyleSheet ? cssStyleSheet->contents() : 0; | 265 return cssStyleSheet ? cssStyleSheet->contents() : 0; |
266 } | 266 } |
267 | 267 |
268 bool AbstractPropertySetCSSStyleDeclaration::cssPropertyMatches(CSSPropertyID pr
opertyID, const CSSValue propertyValue) const | 268 bool AbstractPropertySetCSSStyleDeclaration::cssPropertyMatches(CSSPropertyID pr
opertyID, const CSSValue& propertyValue) const |
269 { | 269 { |
270 return propertySet().propertyMatches(propertyID, propertyValue); | 270 return propertySet().propertyMatches(propertyID, propertyValue); |
271 } | 271 } |
272 | 272 |
273 DEFINE_TRACE(AbstractPropertySetCSSStyleDeclaration) | 273 DEFINE_TRACE(AbstractPropertySetCSSStyleDeclaration) |
274 { | 274 { |
275 CSSStyleDeclaration::trace(visitor); | 275 CSSStyleDeclaration::trace(visitor); |
276 } | 276 } |
277 | 277 |
278 StyleRuleCSSStyleDeclaration::StyleRuleCSSStyleDeclaration(MutableStylePropertyS
et& propertySetArg, CSSRule* parentRule) | 278 StyleRuleCSSStyleDeclaration::StyleRuleCSSStyleDeclaration(MutableStylePropertyS
et& propertySetArg, CSSRule* parentRule) |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 } | 379 } |
380 #endif | 380 #endif |
381 | 381 |
382 DEFINE_TRACE(InlineCSSStyleDeclaration) | 382 DEFINE_TRACE(InlineCSSStyleDeclaration) |
383 { | 383 { |
384 visitor->trace(m_parentElement); | 384 visitor->trace(m_parentElement); |
385 AbstractPropertySetCSSStyleDeclaration::trace(visitor); | 385 AbstractPropertySetCSSStyleDeclaration::trace(visitor); |
386 } | 386 } |
387 | 387 |
388 } // namespace blink | 388 } // namespace blink |
OLD | NEW |