Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(479)

Side by Side Diff: Source/core/css/CSSPropertySourceData.h

Issue 989173003: Fix template angle bracket syntax in css (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/css/CSSKeyframesRule.h ('k') | Source/core/css/CSSRuleList.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/css/CSSKeyframesRule.h ('k') | Source/core/css/CSSRuleList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698