| Index: Source/core/css/StyleSheetContents.cpp
|
| diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp
|
| index ef527fcb3dc3f82477c3ff4cd70c8858046eb7c0..dca9ceae2a8d7843a8743e7429efbf7b823c5dcf 100644
|
| --- a/Source/core/css/StyleSheetContents.cpp
|
| +++ b/Source/core/css/StyleSheetContents.cpp
|
| @@ -391,8 +391,8 @@ void StyleSheetContents::checkLoaded()
|
| return;
|
| }
|
|
|
| - StyleSheetContents* root = rootStyleSheet();
|
| - if (root->m_loadingClients.isEmpty())
|
| + ASSERT(this == rootStyleSheet());
|
| + if (m_loadingClients.isEmpty())
|
| return;
|
|
|
| // Avoid |CSSSStyleSheet| and |ownerNode| being deleted by scripts that run via
|
|
|