Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: chrome/utility/printing_handler.h

Issue 2541843005: Revert "Printing: Load the source PDF only once." (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/service/service_utility_process_host.cc ('k') | chrome/utility/printing_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/printing_handler.h
diff --git a/chrome/utility/printing_handler.h b/chrome/utility/printing_handler.h
index 02696d4eaa802b941d576664c50d83b9c837f183..99b6eeb6a28399e4077c254a037585b70c3efe14 100644
--- a/chrome/utility/printing_handler.h
+++ b/chrome/utility/printing_handler.h
@@ -34,7 +34,7 @@ class PrintingHandler : public UtilityMessageHandler {
private:
// IPC message handlers.
#if defined(OS_WIN)
- void OnRenderPDFPagesToMetafileStart(IPC::PlatformFileForTransit pdf_transit,
+ void OnRenderPDFPagesToMetafile(IPC::PlatformFileForTransit pdf_transit,
const PdfRenderSettings& settings,
bool print_text_with_gdi);
void OnRenderPDFPagesToMetafileGetPage(
@@ -68,7 +68,6 @@ class PrintingHandler : public UtilityMessageHandler {
#if defined(OS_WIN)
std::vector<char> pdf_data_;
PdfRenderSettings pdf_rendering_settings_;
- void* pdf_handle_ = nullptr;
#endif
DISALLOW_COPY_AND_ASSIGN(PrintingHandler);
« no previous file with comments | « chrome/service/service_utility_process_host.cc ('k') | chrome/utility/printing_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698