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

Unified Diff: third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js

Issue 2450663004: DevTools: do not allow using 'this' before call into super. (Closed)
Patch Set: rebaselined Created 4 years, 2 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/accessibility/AXTreePane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js b/third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js
index 4196b0d4ef241b8889dd4d0c48d1da4fbf40c31b..e7da83a0d7a79eec8967ef9a6cbe45e95efbd1f1 100644
--- a/third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js
+++ b/third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js
@@ -51,15 +51,15 @@ WebInspector.AXTreePane.prototype = {
*/
WebInspector.AXNodeTreeElement = function(axNode, target)
{
+ // Pass an empty title, the title gets made later in onattach.
+ TreeElement.call(this, "");
+
/** @type {!WebInspector.AccessibilityNode} */
this._axNode = axNode;
/** @type {!WebInspector.Target} */
this._target = target;
- // Pass an empty title, the title gets made later in onattach.
- TreeElement.call(this, "");
-
this.selectable = false;
};

Powered by Google App Engine
This is Rietveld 408576698