| Index: chrome/browser/printing/print_dialog_cloud.cc
|
| ===================================================================
|
| --- chrome/browser/printing/print_dialog_cloud.cc (revision 286686)
|
| +++ chrome/browser/printing/print_dialog_cloud.cc (working copy)
|
| @@ -361,8 +361,6 @@
|
| // script permissions required for the web UI.
|
| RenderViewHost* rvh = web_ui()->GetWebContents()->GetRenderViewHost();
|
| if (rvh) {
|
| - // TODO(chrishtr): this is wrong. allow_scripts_to_close_windows will
|
| - // be reset the next time a preference changes.
|
| WebPreferences webkit_prefs = rvh->GetWebkitPreferences();
|
| webkit_prefs.allow_scripts_to_close_windows = true;
|
| rvh->UpdateWebkitPreferences(webkit_prefs);
|
|
|