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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.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/elements/ClassesPaneWidget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js b/third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js
index c9aacb8750eb2e18ca373bdcb4aa4697eaa4b4fc..499a3337386350788bf78656f2911ed02215f265 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js
@@ -224,7 +224,8 @@ WebInspector.ClassesPaneWidget.ButtonProvider.prototype = {
*/
WebInspector.ClassesPaneWidget.ClassNamePrompt = function()
{
- WebInspector.TextPrompt.call(this, this._buildClassNameCompletions.bind(this), " ");
+ WebInspector.TextPrompt.call(this);
+ this.initialize(this._buildClassNameCompletions.bind(this), " ");
this.setSuggestBoxEnabled(true);
this.disableDefaultSuggestionForEmptyInput();
this._selectedFrameId = "";

Powered by Google App Engine
This is Rietveld 408576698