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

Side by Side Diff: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp

Issue 1738613002: Rename enums/functions that collide in chromium style in core/dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-3
Patch Set: get-names-4: Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 replaceChildrenWithFragment(this, fragment.release(), exceptionState); 133 replaceChildrenWithFragment(this, fragment.release(), exceptionState);
134 } 134 }
135 135
136 void ShadowRoot::recalcStyle(StyleRecalcChange change) 136 void ShadowRoot::recalcStyle(StyleRecalcChange change)
137 { 137 {
138 // ShadowRoot doesn't support custom callbacks. 138 // ShadowRoot doesn't support custom callbacks.
139 ASSERT(!hasCustomStyleCallbacks()); 139 ASSERT(!hasCustomStyleCallbacks());
140 140
141 StyleSharingDepthScope sharingScope(*this); 141 StyleSharingDepthScope sharingScope(*this);
142 142
143 if (styleChangeType() >= SubtreeStyleChange) 143 if (getStyleChangeType() >= SubtreeStyleChange)
144 change = Force; 144 change = Force;
145 145
146 // There's no style to update so just calling recalcStyle means we're update d. 146 // There's no style to update so just calling recalcStyle means we're update d.
147 clearNeedsStyleRecalc(); 147 clearNeedsStyleRecalc();
148 148
149 recalcChildStyle(change); 149 recalcChildStyle(change);
150 clearChildNeedsStyleRecalc(); 150 clearChildNeedsStyleRecalc();
151 } 151 }
152 152
153 void ShadowRoot::attach(const AttachContext& context) 153 void ShadowRoot::attach(const AttachContext& context)
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 DEFINE_TRACE(ShadowRoot) 370 DEFINE_TRACE(ShadowRoot)
371 { 371 {
372 visitor->trace(m_prev); 372 visitor->trace(m_prev);
373 visitor->trace(m_next); 373 visitor->trace(m_next);
374 visitor->trace(m_shadowRootRareData); 374 visitor->trace(m_shadowRootRareData);
375 TreeScope::trace(visitor); 375 TreeScope::trace(visitor);
376 DocumentFragment::trace(visitor); 376 DocumentFragment::trace(visitor);
377 } 377 }
378 378
379 } // namespace blink 379 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698