| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 Google Inc. All rights reserved. | 2 * Copyright (c) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 struct CSSMediaSourceData : public RefCountedWillBeGarbageCollected<CSSMediaSour
ceData> { | 105 struct CSSMediaSourceData : public RefCountedWillBeGarbageCollected<CSSMediaSour
ceData> { |
| 106 static PassRefPtrWillBeRawPtr<CSSMediaSourceData> create() | 106 static PassRefPtrWillBeRawPtr<CSSMediaSourceData> create() |
| 107 { | 107 { |
| 108 return adoptRefWillBeNoop(new CSSMediaSourceData()); | 108 return adoptRefWillBeNoop(new CSSMediaSourceData()); |
| 109 } | 109 } |
| 110 | 110 |
| 111 DEFINE_INLINE_TRACE() { visitor->trace(queryData); } | 111 DEFINE_INLINE_TRACE() { visitor->trace(queryData); } |
| 112 | 112 |
| 113 WillBeHeapVector<RefPtrWillBeMember<CSSMediaQuerySourceData> > queryData; | 113 WillBeHeapVector<RefPtrWillBeMember<CSSMediaQuerySourceData>> queryData; |
| 114 }; | 114 }; |
| 115 | 115 |
| 116 struct CSSRuleSourceData; | 116 struct CSSRuleSourceData; |
| 117 typedef WillBeHeapVector<RefPtrWillBeMember<CSSRuleSourceData> > RuleSourceDataL
ist; | 117 typedef WillBeHeapVector<RefPtrWillBeMember<CSSRuleSourceData>> RuleSourceDataLi
st; |
| 118 typedef WillBeHeapVector<SourceRange> SelectorRangeList; | 118 typedef WillBeHeapVector<SourceRange> SelectorRangeList; |
| 119 | 119 |
| 120 struct CSSRuleSourceData : public RefCountedWillBeGarbageCollected<CSSRuleSource
Data> { | 120 struct CSSRuleSourceData : public RefCountedWillBeGarbageCollected<CSSRuleSource
Data> { |
| 121 static PassRefPtrWillBeRawPtr<CSSRuleSourceData> create(StyleRule::Type type
) | 121 static PassRefPtrWillBeRawPtr<CSSRuleSourceData> create(StyleRule::Type type
) |
| 122 { | 122 { |
| 123 return adoptRefWillBeNoop(new CSSRuleSourceData(type)); | 123 return adoptRefWillBeNoop(new CSSRuleSourceData(type)); |
| 124 } | 124 } |
| 125 | 125 |
| 126 CSSRuleSourceData(StyleRule::Type type) | 126 CSSRuleSourceData(StyleRule::Type type) |
| 127 : type(type) | 127 : type(type) |
| (...skipping 27 matching lines...) Expand all Loading... |
| 155 RefPtrWillBeMember<CSSMediaSourceData> mediaSourceData; | 155 RefPtrWillBeMember<CSSMediaSourceData> mediaSourceData; |
| 156 }; | 156 }; |
| 157 | 157 |
| 158 } // namespace blink | 158 } // namespace blink |
| 159 | 159 |
| 160 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::SourceRange); | 160 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::SourceRange); |
| 161 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSPropertySourceData); | 161 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSPropertySourceData); |
| 162 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSMediaQueryExpSourceData); | 162 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSMediaQueryExpSourceData); |
| 163 | 163 |
| 164 #endif // CSSPropertySourceData_h | 164 #endif // CSSPropertySourceData_h |
| OLD | NEW |