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

Issue 2802093006: printing::Metafile: Simplify OS_MACOSX-specific code path (Closed)

Created:
3 years, 8 months ago by hal.canary
Modified:
3 years, 8 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews, mac-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

printing::Metafile: Simplify OS_MACOSX-specific code path - printing::Metafile * move MacRenderPageParams to PdfMetafileCg * remove virtual RenderPage() - printing::PdfMetafileCg * Add MacRenderPageParams * RenderPage no longer an override - printing::PdfMetafileSkia * no longer implment RenderPage() * code moved to printing::PrintedDocument::RenderPrintedPage() This will help isolate BUG=chromium:374359 R=thestig@chromium.org Review-Url: https://codereview.chromium.org/2802093006 Cr-Commit-Position: refs/heads/master@{#463828} Committed: https://chromium.googlesource.com/chromium/src/+/c843c89f3051e4b01cf032e52c478000f7ded0ee

Patch Set 1 #

Total comments: 14

Patch Set 2 : less ambition #

Patch Set 3 : vectoriz #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -100 lines) Patch
M printing/image_mac.cc View 1 2 2 chunks +8 lines, -5 lines 0 comments Download
M printing/metafile.h View 3 chunks +0 lines, -43 lines 0 comments Download
M printing/pdf_metafile_cg_mac.h View 1 2 1 chunk +32 lines, -4 lines 0 comments Download
M printing/pdf_metafile_cg_mac.cc View 1 2 1 chunk +16 lines, -3 lines 0 comments Download
M printing/pdf_metafile_skia.h View 1 chunk +0 lines, -5 lines 0 comments Download
M printing/pdf_metafile_skia.cc View 1 3 chunks +0 lines, -36 lines 0 comments Download
M printing/printed_document_mac.cc View 1 2 2 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
hal.canary
PTAL
3 years, 8 months ago (2017-04-07 17:38:42 UTC) #2
Lei Zhang
Looking... you got red Mac trybots.
3 years, 8 months ago (2017-04-07 18:53:41 UTC) #6
Lei Zhang
I wasn't able to eyeball the red bots. Hope you can figure that out. https://codereview.chromium.org/2802093006/diff/1/printing/pdf_metafile_cg_mac.h ...
3 years, 8 months ago (2017-04-08 01:24:25 UTC) #7
hal.canary
https://codereview.chromium.org/2802093006/diff/1/printing/pdf_metafile_cg_mac.h File printing/pdf_metafile_cg_mac.h (right): https://codereview.chromium.org/2802093006/diff/1/printing/pdf_metafile_cg_mac.h#newcode10 printing/pdf_metafile_cg_mac.h:10: #include "build/build_config.h" On 2017/04/08 01:24:24, Lei Zhang wrote: > ...
3 years, 8 months ago (2017-04-11 19:07:27 UTC) #9
Lei Zhang
lgtm
3 years, 8 months ago (2017-04-11 20:46:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2802093006/40001
3 years, 8 months ago (2017-04-11 22:17:14 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/c843c89f3051e4b01cf032e52c478000f7ded0ee
3 years, 8 months ago (2017-04-11 23:19:17 UTC) #15
Lei Zhang
3 years, 7 months ago (2017-04-26 22:21:27 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2839323002/ by thestig@chromium.org.

The reason for reverting is: Likely causing https://crbug.com/712309.

Powered by Google App Engine
This is Rietveld 408576698