Index: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h |
index 81f8b8b53d8d1aaad1a0eff2faa3d3c3b41f9f9c..4df96610f579c45a13f682ee5b6b21148079441a 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h |
+++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h |
@@ -217,12 +217,6 @@ class CORE_EXPORT InspectorCSSAgent final |
CSSStyleDeclaration* FindEffectiveDeclaration( |
CSSPropertyID, |
const HeapVector<Member<CSSStyleDeclaration>>& styles); |
- protocol::Response getLayoutTreeAndStyles( |
- std::unique_ptr<protocol::Array<String>> style_whitelist, |
- std::unique_ptr<protocol::Array<protocol::CSS::LayoutTreeNode>>* |
- layout_tree_nodes, |
- std::unique_ptr<protocol::Array<protocol::CSS::ComputedStyle>>* |
- computed_styles) override; |
HeapVector<Member<CSSStyleDeclaration>> MatchingStyles(Element*); |
String StyleSheetId(CSSStyleSheet*); |
@@ -308,27 +302,6 @@ class CORE_EXPORT InspectorCSSAgent final |
void ResetPseudoStates(); |
- struct VectorStringHashTraits; |
- using ComputedStylesMap = WTF::HashMap<Vector<String>, |
- int, |
- VectorStringHashTraits, |
- VectorStringHashTraits>; |
- |
- void VisitLayoutTreeNodes( |
- Node*, |
- protocol::Array<protocol::CSS::LayoutTreeNode>& layout_tree_nodes, |
- const Vector<std::pair<String, CSSPropertyID>>& css_property_whitelist, |
- ComputedStylesMap& style_to_index_map, |
- protocol::Array<protocol::CSS::ComputedStyle>& computed_styles); |
- |
- // A non-zero index corresponds to a style in |computedStyles|, -1 means an |
- // empty style. |
- int GetStyleIndexForNode( |
- Node*, |
- const Vector<std::pair<String, CSSPropertyID>>& css_property_whitelist, |
- ComputedStylesMap& style_to_index_map, |
- protocol::Array<protocol::CSS::ComputedStyle>& computed_styles); |
- |
Member<InspectorDOMAgent> dom_agent_; |
Member<InspectedFrames> inspected_frames_; |
Member<InspectorNetworkAgent> network_agent_; |