Chromium Code Reviews| Index: chrome/browser/resources/options2/options_page.js |
| diff --git a/chrome/browser/resources/options2/options_page.js b/chrome/browser/resources/options2/options_page.js |
| index a4ccff7b9441b891df18ecb802d25bbf588e60f2..eadb21b73e89a5441c40577571a579ac3104bfdd 100644 |
| --- a/chrome/browser/resources/options2/options_page.js |
| +++ b/chrome/browser/resources/options2/options_page.js |
| @@ -539,8 +539,7 @@ cr.define('options', function() { |
| * be invoked to do final setup. |
| */ |
| OptionsPage.initialize = function() { |
| - chrome.send('coreOptionsInitialize'); |
| - this.initialized_ = true; |
| + chrome.send('coreOptionsInitializePages'); |
| uber.onContentFrameLoaded(); |
| this.fixedHeaders_ = document.querySelectorAll('header'); |
| @@ -637,8 +636,10 @@ cr.define('options', function() { |
| * finished loading). |
| */ |
| OptionsPage.reinitializeCore = function() { |
|
Dan Beam
2012/04/05 21:38:21
And if we remove that other stuff, we can probably
|
| - if (!this.initialized_) |
| - chrome.send('coreOptionsInitialize'); |
| + if (!this.initialized_) { |
| + chrome.send('coreOptionsInitializeHandlers'); |
| + this.initialized_ = true; |
| + } |
| }; |
| OptionsPage.prototype = { |