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

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js
index 63240e23fe9928ba260ef1414150f027b159ede9..df314978d80578b6672078ca7a7e5cbc4b08fc30 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js
@@ -32,13 +32,13 @@
* @constructor
* @implements {WebInspector.ProfileType.DataDisplayDelegate}
* @implements {WebInspector.Searchable}
- * @extends {WebInspector.VBox}
+ * @extends {WebInspector.VBoxWithToolbarItems}
* @param {!WebInspector.ProfileType.DataDisplayDelegate} dataDisplayDelegate
* @param {!WebInspector.HeapProfileHeader} profile
*/
WebInspector.HeapSnapshotView = function(dataDisplayDelegate, profile)
{
- WebInspector.VBox.call(this);
+ WebInspector.VBoxWithToolbarItems.call(this);
this.element.classList.add("heap-snapshot-view");
@@ -523,6 +523,7 @@ WebInspector.HeapSnapshotView.prototype = {
},
/**
+ * @override
* @return {!Array.<!WebInspector.ToolbarItem>}
*/
toolbarItems: function()
@@ -1010,7 +1011,7 @@ WebInspector.HeapSnapshotView.prototype = {
this._trackingOverviewGrid.dispose();
},
- __proto__: WebInspector.VBox.prototype
+ __proto__: WebInspector.VBoxWithToolbarItems.prototype
}
/**
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698