Index: Source/core/inspector/InspectorCSSAgent.h |
diff --git a/Source/core/inspector/InspectorCSSAgent.h b/Source/core/inspector/InspectorCSSAgent.h |
index 836b3b0a0c66b4f1a5b98fb3a092aafc3d6e8065..8cf7d93ecbc684b6a364e6b61b696e7afa756c72 100644 |
--- a/Source/core/inspector/InspectorCSSAgent.h |
+++ b/Source/core/inspector/InspectorCSSAgent.h |
@@ -48,6 +48,7 @@ class CSSRuleList; |
class CSSStyleRule; |
class CSSStyleSheet; |
class Document; |
+class EditedResourcesContentManager; |
class Element; |
class InspectorFrontend; |
class InspectorResourceAgent; |
@@ -97,9 +98,9 @@ public: |
static CSSStyleRule* asCSSStyleRule(CSSRule*); |
- static PassOwnPtrWillBeRawPtr<InspectorCSSAgent> create(InspectorDOMAgent* domAgent, InspectorPageAgent* pageAgent, InspectorResourceAgent* resourceAgent) |
+ static PassOwnPtrWillBeRawPtr<InspectorCSSAgent> create(InspectorDOMAgent* domAgent, InspectorPageAgent* pageAgent, InspectorResourceAgent* resourceAgent, EditedResourcesContentManager* editedResourcesContentManager) |
{ |
- return adoptPtrWillBeNoop(new InspectorCSSAgent(domAgent, pageAgent, resourceAgent)); |
+ return adoptPtrWillBeNoop(new InspectorCSSAgent(domAgent, pageAgent, resourceAgent, editedResourcesContentManager)); |
} |
static void collectAllDocumentStyleSheets(Document*, WillBeHeapVector<RawPtrWillBeMember<CSSStyleSheet> >&); |
@@ -156,7 +157,7 @@ private: |
static void collectStyleSheets(CSSStyleSheet*, WillBeHeapVector<RawPtrWillBeMember<CSSStyleSheet> >&); |
- InspectorCSSAgent(InspectorDOMAgent*, InspectorPageAgent*, InspectorResourceAgent*); |
+ InspectorCSSAgent(InspectorDOMAgent*, InspectorPageAgent*, InspectorResourceAgent*, EditedResourcesContentManager*); |
typedef WillBeHeapHashMap<String, RefPtrWillBeMember<InspectorStyleSheet> > IdToInspectorStyleSheet; |
typedef WillBeHeapHashMap<String, RefPtrWillBeMember<InspectorStyleSheetForInlineStyle> > IdToInspectorStyleSheetForInlineStyle; |
@@ -201,6 +202,7 @@ private: |
RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; |
RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; |
RawPtrWillBeMember<InspectorResourceAgent> m_resourceAgent; |
+ RawPtrWillBeMember<EditedResourcesContentManager> m_editedResourcesContentManager; |
IdToInspectorStyleSheet m_idToInspectorStyleSheet; |
IdToInspectorStyleSheetForInlineStyle m_idToInspectorStyleSheetForInlineStyle; |