| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 646a36b53a65645d7d145b0ce1565c7bb7008fb3..2e640215a9a1c540515fcd78ac49a0e406100603 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -675,13 +675,8 @@ void Document::setCompatibilityMode(CompatibilityMode mode)
|
| {
|
| if (m_compatibilityModeLocked || mode == m_compatibilityMode)
|
| return;
|
| - bool wasInQuirksMode = inQuirksMode();
|
| m_compatibilityMode = mode;
|
| selectorQueryCache().invalidate();
|
| - if (inQuirksMode() != wasInQuirksMode) {
|
| - // All injected stylesheets have to reparse using the different mode.
|
| - m_styleEngine->compatibilityModeChanged();
|
| - }
|
| }
|
|
|
| String Document::compatMode() const
|
|
|