| Index: chrome/browser/ui/webui/options2/options_ui2.cc
|
| ===================================================================
|
| --- chrome/browser/ui/webui/options2/options_ui2.cc (revision 117388)
|
| +++ chrome/browser/ui/webui/options2/options_ui2.cc (working copy)
|
| @@ -196,7 +196,7 @@
|
| ////////////////////////////////////////////////////////////////////////////////
|
|
|
| OptionsUI::OptionsUI(WebContents* contents)
|
| - : WebUI(contents),
|
| + : WebUI(contents, this),
|
| initialized_handlers_(false) {
|
| DictionaryValue* localized_strings = new DictionaryValue();
|
|
|
| @@ -295,15 +295,12 @@
|
| }
|
| }
|
|
|
| -// Override.
|
| void OptionsUI::RenderViewCreated(RenderViewHost* render_view_host) {
|
| SetCommandLineString(render_view_host);
|
| - WebUI::RenderViewCreated(render_view_host);
|
| }
|
|
|
| void OptionsUI::RenderViewReused(RenderViewHost* render_view_host) {
|
| SetCommandLineString(render_view_host);
|
| - WebUI::RenderViewReused(render_view_host);
|
| }
|
|
|
| void OptionsUI::DidBecomeActiveForReusedRenderView() {
|
| @@ -314,8 +311,6 @@
|
| // happens, call reinitializeCore (which is a no-op unless the DOM was already
|
| // initialized).
|
| CallJavascriptFunction("OptionsPage.reinitializeCore");
|
| -
|
| - WebUI::DidBecomeActiveForReusedRenderView();
|
| }
|
|
|
| // static
|
|
|