Chromium Code Reviews| Index: Source/core/html/HTMLLinkElement.cpp |
| diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp |
| index 0907d5b7d6b11032046d6bbcf719ed833770d176..d1521e84305cf64fe79ef8fe0c7dfb4a74f4a6ff 100644 |
| --- a/Source/core/html/HTMLLinkElement.cpp |
| +++ b/Source/core/html/HTMLLinkElement.cpp |
| @@ -743,9 +743,10 @@ void LinkStyle::process() |
| setResource(document().fetcher()->fetchCSSStyleSheet(request)); |
| if (!resource()) { |
| - // The request may have been denied if (for example) the stylesheet is local and the document is remote. |
| + // The request may have been denied if (for example) the stylesheet is local and the document is remote, or if there was a Content Security Policy Failure. |
| m_loading = false; |
| removePendingSheet(); |
| + notifyLoadedSheetAndAllCriticalSubresources(true); |
|
Mike West
2015/03/26 04:41:08
Nit: We should totally change this bool to an enum
jww
2015/03/26 21:04:17
Done.
|
| } |
| } else if (m_sheet) { |
| // we no longer contain a stylesheet, e.g. perhaps rel or type was changed |