| Index: Source/core/dom/StyleSheetCollection.cpp
|
| diff --git a/Source/core/dom/StyleSheetCollection.cpp b/Source/core/dom/StyleSheetCollection.cpp
|
| index 1cdf29edb9c23030fa92935c682ef872ca791840..2f3c5b754d7925ace3d71c4bc22bd407196251f4 100644
|
| --- a/Source/core/dom/StyleSheetCollection.cpp
|
| +++ b/Source/core/dom/StyleSheetCollection.cpp
|
| @@ -113,7 +113,7 @@ void StyleSheetCollection::collectStyleSheets(DocumentStyleSheetCollection* coll
|
| bool enabledViaScript = false;
|
| if (e->hasLocalName(linkTag)) {
|
| // <LINK> element
|
| - HTMLLinkElement* linkElement = static_cast<HTMLLinkElement*>(n);
|
| + HTMLLinkElement* linkElement = toHTMLLinkElement(n);
|
| enabledViaScript = linkElement->isEnabledViaScript();
|
| if (!linkElement->isDisabled() && linkElement->styleSheetIsLoading()) {
|
| // it is loading but we should still decide which style sheet set to use
|
|
|