Index: chrome/browser/ui/constrained_window_tab_helper.cc |
=================================================================== |
--- chrome/browser/ui/constrained_window_tab_helper.cc (revision 105275) |
+++ chrome/browser/ui/constrained_window_tab_helper.cc (working copy) |
@@ -83,6 +83,11 @@ |
contents->render_view_host()->set_ignore_input_events(blocked); |
if (delegate_) |
delegate_->SetTabContentBlocked(wrapper_, blocked); |
+ |
+ if (!contents->is_being_destroyed() && contents->delegate()) { |
+ // Force the printing state to update. |
+ contents->SetContentRestrictions(contents->content_restrictions()); |
+ } |
} |
void ConstrainedWindowTabHelper::DidNavigateMainFramePostCommit( |