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

Unified Diff: third_party/WebKit/Source/devtools/front_end/accessibility/ARIAAttributesView.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/ARIAAttributesView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/accessibility/ARIAAttributesView.js b/third_party/WebKit/Source/devtools/front_end/accessibility/ARIAAttributesView.js
index 2a3142131892fa597291ddd5560749c61a4595d0..d4f8d15ef240952fcd51d2117c63e8770e91d529 100644
--- a/third_party/WebKit/Source/devtools/front_end/accessibility/ARIAAttributesView.js
+++ b/third_party/WebKit/Source/devtools/front_end/accessibility/ARIAAttributesView.js
@@ -214,7 +214,8 @@ WebInspector.ARIAAttributesTreeElement.createARIAValueElement = function(value)
*/
WebInspector.ARIAAttributesPane.ARIAAttributePrompt = function(ariaCompletions, treeElement)
{
- WebInspector.TextPrompt.call(this, this._buildPropertyCompletions.bind(this));
+ WebInspector.TextPrompt.call(this);
+ this.initialize(this._buildPropertyCompletions.bind(this));
this.setSuggestBoxEnabled(true);

Powered by Google App Engine
This is Rietveld 408576698