summaryrefslogtreecommitdiffstats
path: root/printing/pdf_ps_metafile_linux.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix memory leak problem in PdfPsMetafile.tony@chromium.org2009-08-261-28/+27
| | | | | | | | | | | | | | The one committed in revision 24474 has a memory-leak problem. The cause is that we forgot to do CleanUpSurface(&page_surface_) near the end of PdfPsMetafile::FinishPage(). Original patch by Min-yu Huang <minyu.huang@gmail.com> via http://codereview.chromium.org/173516 Review URL: http://codereview.chromium.org/174559 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24533 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 24474.maruel@chromium.org2009-08-261-27/+28
| | | | | | | Caused a memory leak (detected by valgrind) Review URL: http://codereview.chromium.org/174547 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24489 0039d316-1c4b-4281-b951-d872f2087c98
* Revised PdfPsMetafile.maruel@chromium.org2009-08-261-28/+27
| | | | | | | | | | The interface is more reasonable, and the code is robuster. TEST=unit test BUG=none Review URL: http://codereview.chromium.org/174468 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24474 0039d316-1c4b-4281-b951-d872f2087c98
* Implement native metafile for printing on Linux.tony@chromium.org2009-08-251-0/+107
The metafile class stores the resulting PDF/PS stream in memory. BUG=9847 Original patch by Min-yu Huang <minyu.huang@gmail.com> at http://codereview.chromium.org/174042 Review URL: http://codereview.chromium.org/174405 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24243 0039d316-1c4b-4281-b951-d872f2087c98