| Index: third_party/WebKit/Source/devtools/front_end/ui/Widget.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Widget.js b/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
|
| index 9ffce9958784874a8d96ae561aaf6c65347eed09..b355d80f4024acf562547e207a58dc8ad25b1bf0 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
|
| @@ -76,10 +76,8 @@ UI.Widget = class extends Common.Object {
|
| }
|
|
|
| static __assert(condition, message) {
|
| - if (!condition) {
|
| - console.trace();
|
| + if (!condition)
|
| throw new Error(message);
|
| - }
|
| }
|
|
|
| /**
|
| @@ -438,7 +436,7 @@ UI.Widget = class extends Common.Object {
|
| printWidgetHierarchy() {
|
| var lines = [];
|
| this._collectWidgetHierarchy('', lines);
|
| - console.log(lines.join('\n'));
|
| + console.log(lines.join('\n')); // eslint-disable-line no-console
|
| }
|
|
|
| _collectWidgetHierarchy(prefix, lines) {
|
|
|