OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * @constructor | 6 * @constructor |
7 * @extends {WebInspector.Infobar} | 7 * @extends {WebInspector.Infobar} |
8 */ | 8 */ |
9 WebInspector.DataSaverInfobar = function() | 9 WebInspector.DataSaverInfobar = function() |
10 { | 10 { |
(...skipping 18 matching lines...) Expand all Loading... |
29 } | 29 } |
30 }; | 30 }; |
31 | 31 |
32 WebInspector.DataSaverInfobar.prototype = { | 32 WebInspector.DataSaverInfobar.prototype = { |
33 /** | 33 /** |
34 * @override | 34 * @override |
35 */ | 35 */ |
36 dispose: function() | 36 dispose: function() |
37 { | 37 { |
38 for (var infobar of WebInspector.DataSaverInfobar._infobars) | 38 for (var infobar of WebInspector.DataSaverInfobar._infobars) |
39 WebInspector.Infobar.prototype.dispose.call(infobar); | 39 WebInspector.Infobar.prototype.dispose.call(this, infobar); |
40 }, | 40 }, |
41 | 41 |
42 __proto__: WebInspector.Infobar.prototype | 42 __proto__: WebInspector.Infobar.prototype |
43 }; | 43 }; |
OLD | NEW |