| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |