| 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 22 matching lines...) Expand all Loading... |
| 33 #include "core/css/CSSViewportRule.h" | 33 #include "core/css/CSSViewportRule.h" |
| 34 #include "core/css/StylePropertySet.h" | 34 #include "core/css/StylePropertySet.h" |
| 35 #include "core/css/StyleRuleImport.h" | 35 #include "core/css/StyleRuleImport.h" |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 struct SameSizeAsStyleRuleBase : public RefCountedWillBeGarbageCollectedFinalize
d<SameSizeAsStyleRuleBase> { | 39 struct SameSizeAsStyleRuleBase : public RefCountedWillBeGarbageCollectedFinalize
d<SameSizeAsStyleRuleBase> { |
| 40 unsigned bitfields; | 40 unsigned bitfields; |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 COMPILE_ASSERT(sizeof(StyleRuleBase) <= sizeof(SameSizeAsStyleRuleBase), StyleRu
leBase_should_stay_small); | 43 static_assert(sizeof(StyleRuleBase) <= sizeof(SameSizeAsStyleRuleBase), "StyleRu
leBase should stay small"); |
| 44 | 44 |
| 45 PassRefPtrWillBeRawPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSStyleSheet*
parentSheet) const | 45 PassRefPtrWillBeRawPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSStyleSheet*
parentSheet) const |
| 46 { | 46 { |
| 47 return createCSSOMWrapper(parentSheet, 0); | 47 return createCSSOMWrapper(parentSheet, 0); |
| 48 } | 48 } |
| 49 | 49 |
| 50 PassRefPtrWillBeRawPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSRule* paren
tRule) const | 50 PassRefPtrWillBeRawPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSRule* paren
tRule) const |
| 51 { | 51 { |
| 52 return createCSSOMWrapper(0, parentRule); | 52 return createCSSOMWrapper(0, parentRule); |
| 53 } | 53 } |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 m_properties = properties; | 476 m_properties = properties; |
| 477 } | 477 } |
| 478 | 478 |
| 479 void StyleRuleFilter::traceAfterDispatch(Visitor* visitor) | 479 void StyleRuleFilter::traceAfterDispatch(Visitor* visitor) |
| 480 { | 480 { |
| 481 visitor->trace(m_properties); | 481 visitor->trace(m_properties); |
| 482 StyleRuleBase::traceAfterDispatch(visitor); | 482 StyleRuleBase::traceAfterDispatch(visitor); |
| 483 } | 483 } |
| 484 | 484 |
| 485 } // namespace blink | 485 } // namespace blink |
| OLD | NEW |