| Index: chrome/browser/instant/instant_loader.cc
|
| diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc
|
| index 5e8a03280e4206417d1b5594e5c960ba825b1982..81572fe8587fbc82f184822f6c5cbd71fa6f2011 100644
|
| --- a/chrome/browser/instant/instant_loader.cc
|
| +++ b/chrome/browser/instant/instant_loader.cc
|
| @@ -19,6 +19,7 @@
|
| #include "chrome/browser/instant/instant_loader_delegate.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/search_engines/template_url.h"
|
| +#include "chrome/browser/ui/content_settings/content_settings_tab_helper.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/render_messages.h"
|
| @@ -981,7 +982,7 @@ void InstantLoader::CreatePreviewContents(TabContentsWrapper* tab_contents) {
|
| new TabContents(
|
| tab_contents->profile(), NULL, MSG_ROUTING_NONE, NULL, NULL);
|
| preview_contents_.reset(new TabContentsWrapper(new_contents));
|
| - new_contents->SetAllContentsBlocked(true);
|
| + preview_contents_->content_settings_tab_helper()->SetAllContentsBlocked(true);
|
| // Propagate the max page id. That way if we end up merging the two
|
| // NavigationControllers (which happens if we commit) none of the page ids
|
| // will overlap.
|
|
|