Chromium Code Reviews| Index: chrome/browser/resources/chromeos/fake_bluetooth_overlay_parent.js |
| diff --git a/chrome/browser/resources/chromeos/fake_bluetooth_overlay_parent.js b/chrome/browser/resources/chromeos/fake_bluetooth_overlay_parent.js |
| index eb154bb458b8e37ec9fe57e54ed4099e32e0dc9f..20a1b587e6c6b5ad159f7f2b91a87a9dbaa046fc 100644 |
| --- a/chrome/browser/resources/chromeos/fake_bluetooth_overlay_parent.js |
| +++ b/chrome/browser/resources/chromeos/fake_bluetooth_overlay_parent.js |
| @@ -3,30 +3,29 @@ |
| // found in the LICENSE file. |
| cr.define('options', function() { |
| - var OptionsPage = options.OptionsPage; |
| + var Page = cr.ui.pageManager.Page; |
| + var PageManager = cr.ui.pageManager.PageManager; |
| /** |
| * Encapsulated a fake parent page for bluetooth overlay page used by Web UI. |
| * @constructor |
| */ |
| function FakeBluetoothOverlayParent(model) { |
| - OptionsPage.call(this, 'bluetooth', |
| - '', |
| - 'bluetooth-container'); |
| + Page.call(this, 'bluetooth', '', 'bluetooth-container'); |
| } |
| cr.addSingletonGetter(FakeBluetoothOverlayParent); |
| FakeBluetoothOverlayParent.prototype = { |
| - // Inherit FakeBluetoothOverlayParent from OptionsPage. |
| - __proto__: OptionsPage.prototype, |
| + // Inherit FakeBluetoothOverlayParent from Page. |
| + __proto__: Page.prototype, |
| /** |
| * Initializes FakeBluetoothOverlayParent page. |
| */ |
| initializePage: function() { |
| // Call base class implementation to starts preference initialization. |
| - OptionsPage.prototype.initializePage.call(this); |
| + Page.prototype.initializePage.call(this); |
| }, |
|
Dan Beam
2014/07/30 01:00:01
in practice L22-29 is totally useless. redefining
michaelpg
2014/07/30 21:42:19
Thanks.
|
| }; |