Index: Source/core/inspector/InspectorHighlight.cpp |
diff --git a/Source/core/inspector/InspectorHighlight.cpp b/Source/core/inspector/InspectorHighlight.cpp |
index b6a43f0e8d6aad82ac905229370a0bfc3e99ffdd..669f94f097ceb55e10e9b612c47335f2f0057d86 100644 |
--- a/Source/core/inspector/InspectorHighlight.cpp |
+++ b/Source/core/inspector/InspectorHighlight.cpp |
@@ -225,11 +225,26 @@ InspectorHighlightConfig::InspectorHighlightConfig() |
: showInfo(false) |
, showRulers(false) |
, showExtensionLines(false) |
- , showLayoutEditor(false) |
, displayAsMaterial(false) |
{ |
} |
+InspectorHighlightConfig::InspectorHighlightConfig(const InspectorHighlightConfig& config) |
dgozman
2015/08/28 23:44:10
I think you can just use operator=.
sergeyv
2015/09/02 00:40:58
Done.
|
+ : content(config.content) |
+ , contentOutline(config.contentOutline) |
+ , padding(config.padding) |
+ , border(config.border) |
+ , margin(config.margin) |
+ , eventTarget(config.eventTarget) |
+ , shape(config.shape) |
+ , shapeMargin(config.shapeMargin) |
+ , showInfo(config.showInfo) |
+ , showRulers(config.showRulers) |
+ , showExtensionLines(config.showExtensionLines) |
+ , displayAsMaterial(config.displayAsMaterial) |
+{ |
+} |
+ |
InspectorHighlight::InspectorHighlight(Node* node, const InspectorHighlightConfig& highlightConfig, bool appendElementInfo) |
: m_highlightPaths(JSONArray::create()) |
, m_showRulers(highlightConfig.showRulers) |
@@ -447,7 +462,6 @@ InspectorHighlightConfig InspectorHighlight::defaultConfig() |
config.showInfo = true; |
config.showRulers = true; |
config.showExtensionLines = true; |
- config.showLayoutEditor = false; |
config.displayAsMaterial = false; |
return config; |
} |