summaryrefslogtreecommitdiffstats
path: root/chrome/nacl
diff options
context:
space:
mode:
authorkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-02 09:04:34 +0000
committerkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-02 09:04:34 +0000
commit21d4e5c22bb0ac6fd955736136c685551acd81e5 (patch)
tree86a6e1c37084ace554054ceede236a395321da2c /chrome/nacl
parent6e52153b93ee6f563e1aadce8697f8135c34d368 (diff)
downloadchromium_src-21d4e5c22bb0ac6fd955736136c685551acd81e5.zip
chromium_src-21d4e5c22bb0ac6fd955736136c685551acd81e5.tar.gz
chromium_src-21d4e5c22bb0ac6fd955736136c685551acd81e5.tar.bz2
Fix the print preview regression bug caused by r98926.
If we are previewing a PDF file, always invoke "PrepareFrameAndPrint" FinishPrinting() before calling metafile FinishDocument() function. If we are previewing a normal html page, we can invoke FinishDocument() as soon as the print ready document is ready and then we can call FinishPrinting() after rendering all the draft pages. BUG=94998 TEST=Preview PDFs results in valid preview data. Review URL: http://codereview.chromium.org/7822014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99344 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/nacl')
0 files changed, 0 insertions, 0 deletions