| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) | 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) |
| 4 * Copyright (C) 2002, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. | 4 * Copyright (C) 2002, 2005, 2006, 2008, 2012 Apple Inc. 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 void StyleRuleGroup::wrapperInsertRule(unsigned index, PassRefPtr<StyleRuleBase>
rule) | 352 void StyleRuleGroup::wrapperInsertRule(unsigned index, PassRefPtr<StyleRuleBase>
rule) |
| 353 { | 353 { |
| 354 m_childRules.insert(index, rule); | 354 m_childRules.insert(index, rule); |
| 355 } | 355 } |
| 356 | 356 |
| 357 void StyleRuleGroup::wrapperRemoveRule(unsigned index) | 357 void StyleRuleGroup::wrapperRemoveRule(unsigned index) |
| 358 { | 358 { |
| 359 m_childRules.remove(index); | 359 m_childRules.remove(index); |
| 360 } | 360 } |
| 361 | 361 |
| 362 StyleRuleMedia::StyleRuleMedia(PassRefPtr<MediaQuerySet> media, Vector<RefPtr<St
yleRuleBase> >& adoptRules) | 362 StyleRuleMedia::StyleRuleMedia(PassRefPtrWillBeRawPtr<MediaQuerySet> media, Vect
or<RefPtr<StyleRuleBase> >& adoptRules) |
| 363 : StyleRuleGroup(Media, adoptRules) | 363 : StyleRuleGroup(Media, adoptRules) |
| 364 , m_mediaQueries(media) | 364 , m_mediaQueries(media) |
| 365 { | 365 { |
| 366 } | 366 } |
| 367 | 367 |
| 368 StyleRuleMedia::StyleRuleMedia(const StyleRuleMedia& o) | 368 StyleRuleMedia::StyleRuleMedia(const StyleRuleMedia& o) |
| 369 : StyleRuleGroup(o) | 369 : StyleRuleGroup(o) |
| 370 { | 370 { |
| 371 if (o.m_mediaQueries) | 371 if (o.m_mediaQueries) |
| 372 m_mediaQueries = o.m_mediaQueries->copy(); | 372 m_mediaQueries = o.m_mediaQueries->copy(); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 m_properties = m_properties->mutableCopy(); | 436 m_properties = m_properties->mutableCopy(); |
| 437 return toMutableStylePropertySet(m_properties); | 437 return toMutableStylePropertySet(m_properties); |
| 438 } | 438 } |
| 439 | 439 |
| 440 void StyleRuleFilter::setProperties(PassRefPtr<StylePropertySet> properties) | 440 void StyleRuleFilter::setProperties(PassRefPtr<StylePropertySet> properties) |
| 441 { | 441 { |
| 442 m_properties = properties; | 442 m_properties = properties; |
| 443 } | 443 } |
| 444 | 444 |
| 445 } // namespace WebCore | 445 } // namespace WebCore |
| OLD | NEW |