Index: Source/core/html/HTMLLinkElement.cpp |
diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp |
index 35355426b58a3d8bf8ea253e868543193bec8f0f..a98eaa0e76d795d7b82e483736bba3fb9f629a90 100644 |
--- a/Source/core/html/HTMLLinkElement.cpp |
+++ b/Source/core/html/HTMLLinkElement.cpp |
@@ -531,6 +531,9 @@ void LinkStyle::setDisabledState(bool disabled) |
return; |
} |
+ if (m_sheet) |
+ m_sheet->setDisabled(disabled); |
+ |
// Load the sheet, since it's never been loaded before. |
if (!m_sheet && m_disabledState == EnabledViaScript) { |
if (m_owner->shouldProcessStyle()) |