| Index: third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp b/third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp
|
| index d49bb546efb065256e41893994528ef26184fbef..f4e5551a159119b7d40a74ff49c61b26e91885e7 100644
|
| --- a/third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp
|
| @@ -79,11 +79,7 @@
|
|
|
| bool StyleSheetCandidate::isEnabledAndLoading() const
|
| {
|
| - if (isHTMLLink())
|
| - return !toHTMLLinkElement(node()).isDisabled() && toHTMLLinkElement(node()).styleSheetIsLoading();
|
| -
|
| - StyleSheet* sheet = this->sheet();
|
| - return sheet && !sheet->disabled() && sheet->isLoading();
|
| + return isHTMLLink() && !toHTMLLinkElement(node()).isDisabled() && toHTMLLinkElement(node()).styleSheetIsLoading();
|
| }
|
|
|
| bool StyleSheetCandidate::hasPreferrableName() const
|
|
|