Index: chrome/browser/printing/print_preview_message_handler.cc |
diff --git a/chrome/browser/printing/print_preview_message_handler.cc b/chrome/browser/printing/print_preview_message_handler.cc |
index c629717a5dad8d99eb8f49f55c44a6c24fa89121..e603806de61259ea4fa5bec2d210a63b40d5b627 100644 |
--- a/chrome/browser/printing/print_preview_message_handler.cc |
+++ b/chrome/browser/printing/print_preview_message_handler.cc |
@@ -146,18 +146,6 @@ void PrintPreviewMessageHandler::OnMetafileReadyForPrinting( |
if (!print_preview_ui) |
return; |
- if (params.reuse_existing_data) { |
- // Need to match normal rendering where we are expected to send this. |
- PrintHostMsg_DidGetPreviewPageCount_Params temp_params; |
- temp_params.page_count = params.expected_pages_count; |
- temp_params.document_cookie = params.document_cookie; |
- temp_params.is_modifiable = params.modifiable; |
- temp_params.preview_request_id = params.preview_request_id; |
- print_preview_ui->OnDidGetPreviewPageCount(temp_params); |
- print_preview_ui->OnReusePreviewData(params.preview_request_id); |
- return; |
- } |
- |
// TODO(joth): This seems like a good match for using RefCountedStaticMemory |
// to avoid the memory copy, but the SetPrintPreviewData call chain below |
// needs updating to accept the RefCountedMemory* base class. |