| Index: sky/engine/core/dom/StyleSheetCandidate.cpp
|
| diff --git a/sky/engine/core/dom/StyleSheetCandidate.cpp b/sky/engine/core/dom/StyleSheetCandidate.cpp
|
| index f1194dcf88e164e82d0810f1f02bbcb38de97fb2..c422682daf668511766fdd44581c216f0266137c 100644
|
| --- a/sky/engine/core/dom/StyleSheetCandidate.cpp
|
| +++ b/sky/engine/core/dom/StyleSheetCandidate.cpp
|
| @@ -36,8 +36,9 @@ namespace blink {
|
|
|
| bool StyleSheetCandidate::canBeActivated() const
|
| {
|
| - StyleSheet* sheet = this->sheet();
|
| - return sheet && sheet->isCSSStyleSheet();
|
| + // TODO(esprehn): Remove this.
|
| + CSSStyleSheet* sheet = this->sheet();
|
| + return sheet;
|
| }
|
|
|
| StyleSheetCandidate::Type StyleSheetCandidate::typeOf(Node& node)
|
| @@ -54,7 +55,7 @@ StyleSheetCandidate::Type StyleSheetCandidate::typeOf(Node& node)
|
| return HTMLStyle;
|
| }
|
|
|
| -StyleSheet* StyleSheetCandidate::sheet() const
|
| +CSSStyleSheet* StyleSheetCandidate::sheet() const
|
| {
|
| switch (m_type) {
|
| case HTMLStyle:
|
|
|