| Index: third_party/WebKit/Source/core/html/LinkStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/LinkStyle.cpp b/third_party/WebKit/Source/core/html/LinkStyle.cpp
|
| index 4a3297d1c4fea51b953efa142e0df9dac0edd0a3..574106191cf25928b392afbdd58f77fd65e2b923 100644
|
| --- a/third_party/WebKit/Source/core/html/LinkStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/html/LinkStyle.cpp
|
| @@ -387,10 +387,11 @@ void LinkStyle::process() {
|
|
|
| if (loadStylesheetIfNeeded(builder, type) == NotNeeded && m_sheet) {
|
| // we no longer contain a stylesheet, e.g. perhaps rel or type was changed
|
| - StyleSheet* removedSheet = m_sheet.get();
|
| clearSheet();
|
| - document().styleEngine().setNeedsActiveStyleUpdate(removedSheet,
|
| - FullStyleUpdate);
|
| + document().styleEngine().setNeedsActiveStyleUpdate(m_owner->treeScope());
|
| + // TODO(rune@opera.com): resolverChanged() can be removed once stylesheet
|
| + // updates are async. https://crbug.com/567021
|
| + document().styleEngine().resolverChanged(FullStyleUpdate);
|
| }
|
| }
|
|
|
|
|