Index: chrome/browser/ui/webui/options/options_ui.cc |
=================================================================== |
--- chrome/browser/ui/webui/options/options_ui.cc (revision 117388) |
+++ chrome/browser/ui/webui/options/options_ui.cc (working copy) |
@@ -199,7 +199,7 @@ |
//////////////////////////////////////////////////////////////////////////////// |
OptionsUI::OptionsUI(WebContents* contents) |
- : WebUI(contents), |
+ : WebUI(contents, this), |
initialized_handlers_(false) { |
DictionaryValue* localized_strings = new DictionaryValue(); |
@@ -302,12 +302,10 @@ |
// 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() { |
@@ -318,8 +316,6 @@ |
// happens, call reinitializeCore (which is a no-op unless the DOM was already |
// initialized). |
CallJavascriptFunction("OptionsPage.reinitializeCore"); |
- |
- WebUI::DidBecomeActiveForReusedRenderView(); |
} |
// static |