| Index: third_party/WebKit/Source/core/inspector/InspectorHighlight.h
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorHighlight.h b/third_party/WebKit/Source/core/inspector/InspectorHighlight.h
|
| index 61e657fcacb815d844500ae41f7bcf36ef65fab4..892e2dc19b675b8793df2f54380dc6f27d087ef0 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorHighlight.h
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorHighlight.h
|
| @@ -49,21 +49,21 @@ public:
|
| InspectorHighlight();
|
| ~InspectorHighlight();
|
|
|
| - static bool getBoxModel(Node*, OwnPtr<protocol::DOM::BoxModel>*);
|
| + static bool getBoxModel(Node*, std::unique_ptr<protocol::DOM::BoxModel>*);
|
| static InspectorHighlightConfig defaultConfig();
|
| static bool buildNodeQuads(Node*, FloatQuad* content, FloatQuad* padding, FloatQuad* border, FloatQuad* margin);
|
|
|
| - void appendPath(PassOwnPtr<protocol::ListValue> path, const Color& fillColor, const Color& outlineColor, const String& name = String());
|
| + void appendPath(std::unique_ptr<protocol::ListValue> path, const Color& fillColor, const Color& outlineColor, const String& name = String());
|
| void appendQuad(const FloatQuad&, const Color& fillColor, const Color& outlineColor = Color::transparent, const String& name = String());
|
| void appendEventTargetQuads(Node* eventTargetNode, const InspectorHighlightConfig&);
|
| - PassOwnPtr<protocol::DictionaryValue> asProtocolValue() const;
|
| + std::unique_ptr<protocol::DictionaryValue> asProtocolValue() const;
|
|
|
| private:
|
| void appendNodeHighlight(Node*, const InspectorHighlightConfig&);
|
| void appendPathsForShapeOutside(Node*, const InspectorHighlightConfig&);
|
|
|
| - OwnPtr<protocol::DictionaryValue> m_elementInfo;
|
| - OwnPtr<protocol::ListValue> m_highlightPaths;
|
| + std::unique_ptr<protocol::DictionaryValue> m_elementInfo;
|
| + std::unique_ptr<protocol::ListValue> m_highlightPaths;
|
| bool m_showRulers;
|
| bool m_showExtensionLines;
|
| bool m_displayAsMaterial;
|
|
|