Index: third_party/WebKit/Source/devtools/front_end/script_formatter_worker/ESTreeWalker.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/script_formatter_worker/ESTreeWalker.js b/third_party/WebKit/Source/devtools/front_end/script_formatter_worker/ESTreeWalker.js |
index 65e31c52e7086d03dbd11d32df267e91206a255a..243b89f0ba2f2de94f96f534869b8c2824d3fc78 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/script_formatter_worker/ESTreeWalker.js |
+++ b/third_party/WebKit/Source/devtools/front_end/script_formatter_worker/ESTreeWalker.js |
@@ -75,6 +75,7 @@ FormatterWorker.ESTreeWalker.prototype = { |
/** @enum {!Array.<string>} */ |
FormatterWorker.ESTreeWalker._walkOrder = { |
"ArrayExpression": ["elements"], |
+ "ArrowFunctionExpression": ["params", "body"], |
"AssignmentExpression": ["left", "right"], |
"BinaryExpression": ["left", "right"], |
"BlockStatement": ["body"], |