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

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js

Issue 2152093002: DevTools: fix compilation for the VBoxes with toolbar items. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcean Created 4 years, 5 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/profiler/ProfileView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js
index e60de7809670828f00afa5d73f655298ebba03b0..d9dc676b0a0c9c7b848811742c903af113700e15 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js
@@ -5,13 +5,13 @@
/**
* @constructor
* @implements {WebInspector.Searchable}
- * @extends {WebInspector.VBox}
+ * @extends {WebInspector.VBoxWithToolbarItems}
* @param {!WebInspector.ProfileDataGridNode.Formatter} nodeFormatter
* @param {!Array<string>=} viewTypes
*/
WebInspector.ProfileView = function(nodeFormatter, viewTypes)
{
- WebInspector.VBox.call(this);
+ WebInspector.VBoxWithToolbarItems.call(this);
this._searchableView = new WebInspector.SearchableView(this);
this._searchableView.setPlaceholder(WebInspector.UIString("Find by cost (>50ms), name or file"));
@@ -110,6 +110,7 @@ WebInspector.ProfileView.prototype = {
},
/**
+ * @override
* @return {!Array.<!WebInspector.ToolbarItem>}
*/
toolbarItems: function()
@@ -366,7 +367,7 @@ WebInspector.ProfileView.prototype = {
this.refresh();
},
- __proto__: WebInspector.VBox.prototype
+ __proto__: WebInspector.VBoxWithToolbarItems.prototype
}
/**

Powered by Google App Engine
This is Rietveld 408576698