| Index: third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp
|
| index 7558369fd2e0fc9709b130fb0c88d59c9e98bf3b..59f0504680d6c7c4b8d2cc281fe7382075322a83 100644
|
| --- a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp
|
| @@ -60,19 +60,13 @@ void DocumentStyleSheetCollection::collectStyleSheetsFromCandidates(StyleEngine&
|
| continue;
|
| }
|
|
|
| - if (candidate.isEnabledAndLoading()) {
|
| - // it is loading but we should still decide which style sheet set to use
|
| - if (candidate.hasPreferrableName())
|
| - engine.setPreferredStylesheetSetNameIfNotSet(candidate.title());
|
| + if (candidate.isEnabledAndLoading())
|
| continue;
|
| - }
|
|
|
| StyleSheet* sheet = candidate.sheet();
|
| if (!sheet)
|
| continue;
|
|
|
| - if (candidate.hasPreferrableName())
|
| - engine.setPreferredStylesheetSetNameIfNotSet(candidate.title());
|
| collector.appendSheetForList(sheet);
|
| if (candidate.canBeActivated(engine.preferredStylesheetSetName()))
|
| collector.appendActiveStyleSheet(toCSSStyleSheet(sheet));
|
|
|