Chromium Code Reviews| Index: Source/core/inspector/InspectorCSSAgent.h |
| diff --git a/Source/core/inspector/InspectorCSSAgent.h b/Source/core/inspector/InspectorCSSAgent.h |
| index fa9aac37dddae12a9dde47e9de763bf4009213d0..b10ccb99cf7845fedf74cca972f498c02d6355eb 100644 |
| --- a/Source/core/inspector/InspectorCSSAgent.h |
| +++ b/Source/core/inspector/InspectorCSSAgent.h |
| @@ -130,7 +130,8 @@ public: |
| virtual void setStyleSheetText(ErrorString*, const String& styleSheetId, const String& text) OVERRIDE; |
| virtual void setPropertyText(ErrorString*, const RefPtr<JSONObject>& styleId, int propertyIndex, const String& text, bool overwrite, RefPtr<TypeBuilder::CSS::CSSStyle>& result) OVERRIDE; |
| virtual void setRuleSelector(ErrorString*, const RefPtr<JSONObject>& ruleId, const String& selector, RefPtr<TypeBuilder::CSS::CSSRule>& result) OVERRIDE; |
| - virtual void addRule(ErrorString*, int contextNodeId, const String& selector, RefPtr<TypeBuilder::CSS::CSSRule>& result) OVERRIDE; |
| + virtual void createViaInspectorStyleSheet(ErrorString*, const String& frameId, TypeBuilder::CSS::StyleSheetId* outStyleSheetId) OVERRIDE; |
|
lushnikov
2014/02/28 11:55:59
all other methods returns values via RefPtr's - wh
vsevik
2014/02/28 14:35:28
String is not RefCounted
|
| + virtual void addRule(ErrorString*, const String& styleSheetId, const String& selector, RefPtr<TypeBuilder::CSS::CSSRule>& result) OVERRIDE; |
| virtual void forcePseudoState(ErrorString*, int nodeId, const RefPtr<JSONArray>& forcedPseudoClasses) OVERRIDE; |
| PassRefPtr<TypeBuilder::CSS::CSSMedia> buildMediaObject(const MediaList*, MediaListSource, const String&, CSSStyleSheet*); |