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

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.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/resources/IndexedDBViews.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js b/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js
index 1f3dae04f367cba39f6bfe1998c8380c1f4f8299..4dfbc07ebb2a8bb56fd093d2da9a55037a934fa8 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js
@@ -63,14 +63,6 @@ WebInspector.IDBDatabaseView = function(database)
WebInspector.IDBDatabaseView.prototype = {
/**
- * @return {!Array.<!WebInspector.ToolbarItem>}
- */
- toolbarItems: function()
- {
- return [];
- },
-
- /**
* @param {string} name
* @param {string} value
*/
@@ -105,7 +97,7 @@ WebInspector.IDBDatabaseView.prototype = {
/**
* @constructor
- * @extends {WebInspector.VBox}
+ * @extends {WebInspector.VBoxWithToolbarItems}
* @param {!WebInspector.IndexedDBModel} model
* @param {!WebInspector.IndexedDBModel.DatabaseId} databaseId
* @param {!WebInspector.IndexedDBModel.ObjectStore} objectStore
@@ -113,7 +105,7 @@ WebInspector.IDBDatabaseView.prototype = {
*/
WebInspector.IDBDataView = function(model, databaseId, objectStore, index)
{
- WebInspector.VBox.call(this);
+ WebInspector.VBoxWithToolbarItems.call(this);
this.registerRequiredCSS("resources/indexedDBViews.css");
this._model = model;
@@ -342,6 +334,7 @@ WebInspector.IDBDataView.prototype = {
},
/**
+ * @override
* @return {!Array.<!WebInspector.ToolbarItem>}
*/
toolbarItems: function()
@@ -355,7 +348,7 @@ WebInspector.IDBDataView.prototype = {
this._entries = [];
},
- __proto__: WebInspector.VBox.prototype
+ __proto__: WebInspector.VBoxWithToolbarItems.prototype
}
/**

Powered by Google App Engine
This is Rietveld 408576698