Index: chrome/browser/resources/print_preview/print_preview.js |
diff --git a/chrome/browser/resources/print_preview/print_preview.js b/chrome/browser/resources/print_preview/print_preview.js |
index c8fdcd657c0f8ca5e241ada807f9175c819cc328..83607c1a08542ac883b57553cabfef628146ceda 100644 |
--- a/chrome/browser/resources/print_preview/print_preview.js |
+++ b/chrome/browser/resources/print_preview/print_preview.js |
@@ -904,6 +904,9 @@ function onDidGetPreviewPageCount(pageCount, isModifiable, previewResponseId, |
pageSettings.updateState(pageCount); |
previewModifiable = isModifiable; |
document.title = localStrings.getStringF('printPreviewTitleFormat', jobTitle); |
+ if (!previewModifiable && pageSettings.requestPrintPreviewIfNeeded()) |
+ return; |
+ |
cr.dispatchSimpleEvent(document, 'updateSummary'); |
} |