| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "printing/pdf_ps_metafile_linux.h" | 5 #include "printing/pdf_ps_metafile_cairo.h" |
| 6 | 6 |
| 7 #include <stdio.h> | 7 #include <stdio.h> |
| 8 | 8 |
| 9 #include <cairo.h> | 9 #include <cairo.h> |
| 10 #include <cairo-pdf.h> | 10 #include <cairo-pdf.h> |
| 11 #include <cairo-ps.h> | 11 #include <cairo-ps.h> |
| 12 | 12 |
| 13 #include "base/eintr_wrapper.h" | 13 #include "base/eintr_wrapper.h" |
| 14 #include "base/file_descriptor_posix.h" | 14 #include "base/file_descriptor_posix.h" |
| 15 #include "base/file_util.h" | 15 #include "base/file_util.h" |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 CleanUpContext(&context_); | 367 CleanUpContext(&context_); |
| 368 CleanUpSurface(&surface_); | 368 CleanUpSurface(&surface_); |
| 369 CleanUpContext(&page_context_); | 369 CleanUpContext(&page_context_); |
| 370 CleanUpSurface(&page_surface_); | 370 CleanUpSurface(&page_surface_); |
| 371 current_page_.clear(); | 371 current_page_.clear(); |
| 372 all_pages_.clear(); | 372 all_pages_.clear(); |
| 373 skia::VectorPlatformDevice::ClearFontCache(); | 373 skia::VectorPlatformDevice::ClearFontCache(); |
| 374 } | 374 } |
| 375 | 375 |
| 376 } // namespace printing | 376 } // namespace printing |
| OLD | NEW |