| 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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 } | 248 } |
| 249 | 249 |
| 250 StyleSheetList* ShadowRoot::styleSheets() | 250 StyleSheetList* ShadowRoot::styleSheets() |
| 251 { | 251 { |
| 252 if (!ensureShadowRootRareData()->styleSheets()) | 252 if (!ensureShadowRootRareData()->styleSheets()) |
| 253 m_shadowRootRareData->setStyleSheets(StyleSheetList::create(this)); | 253 m_shadowRootRareData->setStyleSheets(StyleSheetList::create(this)); |
| 254 | 254 |
| 255 return m_shadowRootRareData->styleSheets(); | 255 return m_shadowRootRareData->styleSheets(); |
| 256 } | 256 } |
| 257 | 257 |
| 258 void ShadowRoot::trace(Visitor* visitor) | |
| 259 { | |
| 260 visitor->trace(m_prev); | |
| 261 visitor->trace(m_next); | |
| 262 visitor->trace(m_shadowRootRareData); | |
| 263 TreeScope::trace(visitor); | |
| 264 DocumentFragment::trace(visitor); | |
| 265 } | 258 } |
| 266 | |
| 267 } | |
| OLD | NEW |