Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(581)

Unified Diff: third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js

Issue 1761243002: [DevTools] Fix compile errors before closure compiler roll (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prepare-bindings-module
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 bb30b7b0b3532ca01135c91541e754975f87fd92..e1e23a3dfbf5b730f6a48af32682637914202bfe 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
@@ -478,7 +478,7 @@ WebInspector.ConsoleViewMessage.prototype = {
{
var property = propertyPath.peekLast();
if (property.type === "accessor")
- return this._formatAsAccessorProperty(object, propertyPath.select("name"), false);
+ return this._formatAsAccessorProperty(object, propertyPath.map(property => property.name), false);
return this._previewFormatter.renderPropertyPreview(property.type, /** @type {string} */ (property.subtype), property.value);
},
@@ -647,7 +647,7 @@ WebInspector.ConsoleViewMessage.prototype = {
return;
}
- var elements = [];
+ var elements = {};
for (var i = 0; i < properties.length; ++i) {
var property = properties[i];
var name = property.name;

Powered by Google App Engine
This is Rietveld 408576698