| Index: chrome/browser/tab_contents/tab_contents.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents.cc (revision 68243)
|
| +++ chrome/browser/tab_contents/tab_contents.cc (working copy)
|
| @@ -85,7 +85,6 @@
|
| #include "chrome/browser/ui/find_bar/find_bar_state.h"
|
| #include "chrome/common/bindings_policy.h"
|
| #include "chrome/common/chrome_switches.h"
|
| -#include "chrome/common/content_restriction.h"
|
| #include "chrome/common/extensions/extension.h"
|
| #include "chrome/common/extensions/extension_action.h"
|
| #include "chrome/common/extensions/extension_icon_set.h"
|
| @@ -2646,14 +2645,9 @@
|
| void TabContents::DidStartLoading() {
|
| SetIsLoading(true, NULL);
|
|
|
| - if (delegate()) {
|
| - bool is_print_preview_tab =
|
| - printing::PrintPreviewTabController::IsPrintPreviewTab(this);
|
| - if (content_restrictions_ || is_print_preview_tab) {
|
| - content_restrictions_= is_print_preview_tab ?
|
| - CONTENT_RESTRICTION_PRINT : 0;
|
| - delegate()->ContentRestrictionsChanged(this);
|
| - }
|
| + if (content_restrictions_) {
|
| + content_restrictions_= 0;
|
| + delegate()->ContentRestrictionsChanged(this);
|
| }
|
|
|
| // Notify observers about navigation.
|
|
|