| Index: chrome/browser/tab_contents/tab_contents.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents.cc (revision 33621)
|
| +++ chrome/browser/tab_contents/tab_contents.cc (working copy)
|
| @@ -58,6 +58,7 @@
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/extensions/extension_action.h"
|
| #include "chrome/common/notification_service.h"
|
| +#include "chrome/common/platform_util.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/pref_service.h"
|
| #include "chrome/common/render_messages.h"
|
| @@ -258,6 +259,7 @@
|
| last_javascript_message_dismissal_(),
|
| suppress_javascript_messages_(false),
|
| is_showing_before_unload_dialog_(false),
|
| + renderer_preferences_(platform_util::GetInitedRendererPreferences()),
|
| opener_dom_ui_type_(DOMUIFactory::kNoDOMUI) {
|
| #if defined(OS_CHROMEOS)
|
| // Make sure the thumbnailer is started before starting the render manager.
|
| @@ -301,8 +303,6 @@
|
| // Set-up the showing of the omnibox search infobar if applicable.
|
| if (OmniboxSearchHint::IsEnabled(profile))
|
| omnibox_search_hint_.reset(new OmniboxSearchHint(this));
|
| -
|
| - view_->InitRendererPrefs(&renderer_preferences_);
|
| }
|
|
|
| TabContents::~TabContents() {
|
|
|