Index: third_party/WebKit/Source/core/dom/StyleEngine.cpp |
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
index 045bf79748bfd48c6d0a71cdcd18fe9ef7bc4256..c0e1fba918a8b707df09eee9ef06cca15a2a904d 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
@@ -457,6 +457,7 @@ void StyleEngine::clearResolver() { |
} |
void StyleEngine::didDetach() { |
+ m_globalRuleSet.reset(); |
clearResolver(); |
m_viewportResolver = nullptr; |
m_mediaQueryEvaluator = nullptr; |