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

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

Issue 947393002: InlinedVisitor: Migrate dom to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 } 312 }
313 313
314 StyleSheetList* ShadowRoot::styleSheets() 314 StyleSheetList* ShadowRoot::styleSheets()
315 { 315 {
316 if (!ensureShadowRootRareData()->styleSheets()) 316 if (!ensureShadowRootRareData()->styleSheets())
317 m_shadowRootRareData->setStyleSheets(StyleSheetList::create(this)); 317 m_shadowRootRareData->setStyleSheets(StyleSheetList::create(this));
318 318
319 return m_shadowRootRareData->styleSheets(); 319 return m_shadowRootRareData->styleSheets();
320 } 320 }
321 321
322 void ShadowRoot::trace(Visitor* visitor) 322 DEFINE_TRACE(ShadowRoot)
323 { 323 {
324 visitor->trace(m_prev); 324 visitor->trace(m_prev);
325 visitor->trace(m_next); 325 visitor->trace(m_next);
326 visitor->trace(m_shadowRootRareData); 326 visitor->trace(m_shadowRootRareData);
327 TreeScope::trace(visitor); 327 TreeScope::trace(visitor);
328 DocumentFragment::trace(visitor); 328 DocumentFragment::trace(visitor);
329 } 329 }
330 330
331 } 331 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698