| Index: sky/engine/core/dom/StyleEngine.cpp
|
| diff --git a/sky/engine/core/dom/StyleEngine.cpp b/sky/engine/core/dom/StyleEngine.cpp
|
| index 8a3c8b82caca584e4410e886aeac67558c45ccae..2cc2d8021b8c084d10e7568f9f27ebfedc9eaca2 100644
|
| --- a/sky/engine/core/dom/StyleEngine.cpp
|
| +++ b/sky/engine/core/dom/StyleEngine.cpp
|
| @@ -378,11 +378,6 @@ void StyleEngine::markDocumentDirty()
|
|
|
| static bool isCacheableForStyleElement(const StyleSheetContents& contents)
|
| {
|
| - // Until import rules are supported in cached sheets it's not possible for loading to fail.
|
| - ASSERT(!contents.didLoadErrorOccur());
|
| - // It is not the original sheet anymore.
|
| - if (contents.isMutable())
|
| - return false;
|
| if (!contents.hasSyntacticallyValidCSSHeader())
|
| return false;
|
| return true;
|
|
|