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

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

Issue 640593002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[css|rendering|clipboard] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch Created 6 years, 2 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/CSSViewportRule.h ('k') | Source/core/css/FontFace.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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 RawPtrWillBeMember<const CSSStyleSheet> m_parentStyleSheet; 82 RawPtrWillBeMember<const CSSStyleSheet> m_parentStyleSheet;
83 }; 83 };
84 84
85 } // namespace blink 85 } // namespace blink
86 86
87 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::MatchedRule); 87 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::MatchedRule);
88 88
89 namespace blink { 89 namespace blink {
90 90
91 // FIXME: oilpan: when transition types are gone this class can be replaced with HeapVector. 91 // FIXME: oilpan: when transition types are gone this class can be replaced with HeapVector.
92 class StyleRuleList FINAL : public RefCountedWillBeGarbageCollected<StyleRuleLis t> { 92 class StyleRuleList final : public RefCountedWillBeGarbageCollected<StyleRuleLis t> {
93 public: 93 public:
94 static PassRefPtrWillBeRawPtr<StyleRuleList> create() { return adoptRefWillB eNoop(new StyleRuleList()); } 94 static PassRefPtrWillBeRawPtr<StyleRuleList> create() { return adoptRefWillB eNoop(new StyleRuleList()); }
95 95
96 void trace(Visitor* visitor) 96 void trace(Visitor* visitor)
97 { 97 {
98 #if ENABLE(OILPAN) 98 #if ENABLE(OILPAN)
99 visitor->trace(m_list); 99 visitor->trace(m_list);
100 #endif 100 #endif
101 } 101 }
102 102
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 174
175 // Output. 175 // Output.
176 RefPtrWillBeMember<StaticCSSRuleList> m_cssRuleList; 176 RefPtrWillBeMember<StaticCSSRuleList> m_cssRuleList;
177 RefPtrWillBeMember<StyleRuleList> m_styleRuleList; 177 RefPtrWillBeMember<StyleRuleList> m_styleRuleList;
178 MatchResult m_result; 178 MatchResult m_result;
179 }; 179 };
180 180
181 } // namespace blink 181 } // namespace blink
182 182
183 #endif // ElementRuleCollector_h 183 #endif // ElementRuleCollector_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSViewportRule.h ('k') | Source/core/css/FontFace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698