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

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.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/ServiceWorkerCacheViews.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.js b/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.js
index db781fc9a3c3adc1f7a7f7a68c4f8be1fc4cb34b..288f7434347b6f0786d04918020b5dfc5c05ff6a 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.js
@@ -4,13 +4,13 @@
/**
* @constructor
- * @extends {WebInspector.VBox}
+ * @extends {WebInspector.VBoxWithToolbarItems}
* @param {!WebInspector.ServiceWorkerCacheModel} model
* @param {!WebInspector.ServiceWorkerCacheModel.Cache} cache
*/
WebInspector.ServiceWorkerCacheView = function(model, cache)
{
- WebInspector.VBox.call(this);
+ WebInspector.VBoxWithToolbarItems.call(this);
this.registerRequiredCSS("resources/serviceWorkerCacheViews.css");
this._model = model;
@@ -145,6 +145,7 @@ WebInspector.ServiceWorkerCacheView.prototype = {
},
/**
+ * @override
* @return {!Array.<!WebInspector.ToolbarItem>}
*/
toolbarItems: function()
@@ -158,5 +159,5 @@ WebInspector.ServiceWorkerCacheView.prototype = {
this._entries = [];
},
- __proto__: WebInspector.VBox.prototype
+ __proto__: WebInspector.VBoxWithToolbarItems.prototype
}

Powered by Google App Engine
This is Rietveld 408576698