Index: chrome/browser/resources/net_internals/http_cache_view.js |
=================================================================== |
--- chrome/browser/resources/net_internals/http_cache_view.js (revision 95298) |
+++ chrome/browser/resources/net_internals/http_cache_view.js (working copy) |
@@ -5,11 +5,12 @@ |
/** |
* This view displays information on the HTTP cache. |
*/ |
+var HttpCacheView = (function() { |
+ 'use strict'; |
-var HttpCacheView = (function() { |
// IDs for special HTML elements in http_cache_view.html |
- const MAIN_BOX_ID = 'http-cache-view-tab-content'; |
- const STATS_DIV_ID = 'http-cache-view-cache-stats'; |
+ var MAIN_BOX_ID = 'http-cache-view-tab-content'; |
+ var STATS_DIV_ID = 'http-cache-view-cache-stats'; |
// We inherit from DivView. |
var superClass = DivView; |
@@ -18,6 +19,8 @@ |
* @constructor |
*/ |
function HttpCacheView() { |
+ assertFirstConstructorCall(HttpCacheView); |
+ |
// Call superclass's constructor. |
superClass.call(this, MAIN_BOX_ID); |