Index: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp |
index 57e6012e7fa1270bd7c4659ce7d59bd41ba96a2d..7523dcdcb69abaef2e10daf7e37ebb432a8ca6eb 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp |
@@ -615,7 +615,6 @@ InspectorCSSAgent::InspectorCSSAgent(InspectorDOMAgent* domAgent, InspectedFrame |
, m_networkAgent(networkAgent) |
, m_resourceContentLoader(resourceContentLoader) |
, m_resourceContainer(resourceContainer) |
- , m_isSettingStyleSheetText(false) |
, m_resourceContentLoaderClientId(resourceContentLoader->createClientId()) |
{ |
} |
@@ -715,9 +714,6 @@ void InspectorCSSAgent::fontsUpdated() |
void InspectorCSSAgent::activeStyleSheetsUpdated(Document* document) |
{ |
- if (m_isSettingStyleSheetText) |
- return; |
- |
m_invalidatedDocuments.add(document); |
} |
@@ -1791,18 +1787,6 @@ void InspectorCSSAgent::styleSheetChanged(InspectorStyleSheetBase* styleSheet) |
frontend()->styleSheetChanged(styleSheet->id()); |
} |
-void InspectorCSSAgent::willReparseStyleSheet() |
-{ |
- ASSERT(!m_isSettingStyleSheetText); |
- m_isSettingStyleSheetText = true; |
-} |
- |
-void InspectorCSSAgent::didReparseStyleSheet() |
-{ |
- ASSERT(m_isSettingStyleSheetText); |
- m_isSettingStyleSheetText = false; |
-} |
- |
void InspectorCSSAgent::resetPseudoStates() |
{ |
HeapHashSet<Member<Document>> documentsToChange; |