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

Side by Side Diff: third_party/WebKit/Source/core/dom/shadow/ShadowRootRareData.h

Issue 1866663002: Remove unnecessary includes from dom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversalTest.cpp ('k') | no next file » | 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 15 matching lines...) Expand all
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef ShadowRootRareData_h 31 #ifndef ShadowRootRareData_h
32 #define ShadowRootRareData_h 32 #define ShadowRootRareData_h
33 33
34 #include "core/dom/shadow/InsertionPoint.h" 34 #include "core/dom/shadow/InsertionPoint.h"
35 #include "core/html/HTMLSlotElement.h" 35 #include "core/html/HTMLSlotElement.h"
36 #include "wtf/RefPtr.h"
37 #include "wtf/Vector.h" 36 #include "wtf/Vector.h"
38 37
39 namespace blink { 38 namespace blink {
40 39
41 class ShadowRootRareData : public GarbageCollected<ShadowRootRareData> { 40 class ShadowRootRareData : public GarbageCollected<ShadowRootRareData> {
42 public: 41 public:
43 ShadowRootRareData() 42 ShadowRootRareData()
44 : m_descendantShadowElementCount(0) 43 : m_descendantShadowElementCount(0)
45 , m_descendantContentElementCount(0) 44 , m_descendantContentElementCount(0)
46 , m_childShadowRootCount(0) 45 , m_childShadowRootCount(0)
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 ASSERT(m_descendantContentElementCount > 0); 121 ASSERT(m_descendantContentElementCount > 0);
123 --m_descendantContentElementCount; 122 --m_descendantContentElementCount;
124 } else { 123 } else {
125 ASSERT_NOT_REACHED(); 124 ASSERT_NOT_REACHED();
126 } 125 }
127 } 126 }
128 127
129 } // namespace blink 128 } // namespace blink
130 129
131 #endif 130 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversalTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698