| Index: third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
|
| index 6be490432683780e6dd09788a75fc1225206ad2c..551cda47faf9e526a3ec2991f6e6038ff51ebc70 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
|
| @@ -415,25 +415,10 @@ WebInspector.ConsoleViewMessage.prototype = {
|
| }
|
| }
|
|
|
| - var section = this._buildExpandableObjectSection(obj, titleElement);
|
| - elem.appendChild(section.element);
|
| - },
|
| -
|
| - /**
|
| - * @param {!WebInspector.RemoteObject} obj
|
| - * @param {!Element} titleElement
|
| - * @return {!WebInspector.ObjectPropertiesSection}
|
| - */
|
| - _buildExpandableObjectSection: function(obj, titleElement)
|
| - {
|
| - var note = titleElement.createChild("span", "object-state-note");
|
| - note.classList.add("info-note");
|
| - note.title = WebInspector.UIString("Object value at left was snapshotted when logged, value below was evaluated just now.");
|
| -
|
| var section = new WebInspector.ObjectPropertiesSection(obj, titleElement, this._linkifier);
|
| section.element.classList.add("console-view-object-properties-section");
|
| section.enableContextMenu();
|
| - return section;
|
| + elem.appendChild(section.element);
|
| },
|
|
|
| /**
|
| @@ -699,7 +684,9 @@ WebInspector.ConsoleViewMessage.prototype = {
|
|
|
| titleElement.createTextChild("]");
|
|
|
| - var section = this._buildExpandableObjectSection(array, titleElement);
|
| + var section = new WebInspector.ObjectPropertiesSection(array, titleElement, this._linkifier);
|
| + section.element.classList.add("console-view-object-properties-section");
|
| + section.enableContextMenu();
|
| elem.appendChild(section.element);
|
| },
|
|
|
|
|