Index: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js |
index 2d978c8bb4926eee92106dec4034d23d129162c7..e70ebfc82372deca4deee5e28ba2e65c240eca9c 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js |
@@ -787,7 +787,7 @@ Sources.JavaScriptSourceFrame = class extends Sources.UISourceCodeFrame { |
var propertyCount = value.preview ? value.preview.properties.length : 0; |
var entryCount = value.preview && value.preview.entries ? value.preview.entries.length : 0; |
if (value.preview && propertyCount + entryCount < 10) |
- formatter.appendObjectPreview(nameValuePair, value.preview); |
+ formatter.appendObjectPreview(nameValuePair, value.preview, value); |
else |
nameValuePair.appendChild(Components.ObjectPropertiesSection.createValueElement(value, false)); |
++renderedNameCount; |