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

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

Issue 2217783002: DevTools: use view locations in the elements and sources sidebars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing Created 4 years, 4 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/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 7b804eb8579eb212e91db29b8f90486b6b98d678..141a175ec41af37eb0fa9ac7364cb9f993b78798 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.View}
+ * @extends {WebInspector.SimpleView}
* @param {!WebInspector.ProfileType.DataDisplayDelegate} dataDisplayDelegate
* @param {!WebInspector.HeapProfileHeader} profile
*/
WebInspector.HeapSnapshotView = function(dataDisplayDelegate, profile)
{
- WebInspector.View.call(this, WebInspector.UIString("Heap Snapshot"));
+ WebInspector.SimpleView.call(this, WebInspector.UIString("Heap Snapshot"));
this.element.classList.add("heap-snapshot-view");
@@ -526,7 +526,7 @@ WebInspector.HeapSnapshotView.prototype = {
* @override
* @return {!Array.<!WebInspector.ToolbarItem>}
*/
- toolbarItems: function()
+ syncToolbarItems: function()
{
var result = [this._perspectiveSelect, this._classNameFilter];
if (this._profile.profileType() !== WebInspector.ProfileTypeRegistry.instance.trackingHeapSnapshotProfileType)
@@ -1011,7 +1011,7 @@ WebInspector.HeapSnapshotView.prototype = {
this._trackingOverviewGrid.dispose();
},
- __proto__: WebInspector.View.prototype
+ __proto__: WebInspector.SimpleView.prototype
}
/**

Powered by Google App Engine
This is Rietveld 408576698