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

Issue 1842473002: Use SkDocument_PDF_None if pdf support is not enabled. (Closed)

Created:
4 years, 8 months ago by mbjorge
Modified:
4 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use SkDocument_PDF_None if pdf support is not enabled. https://codereview.chromium.org/1833193002 added the //printing dependency to //content/test:content_unittests, but when doing a Debug build, linking content_unittests fails because it tries to reference the SkDocument::CreatePDF function, which doesn't exists on platforms that don't enable printing. BUG= internal b/27859637 TEST= build content_unittests Committed: https://crrev.com/4d5dc283f68c630748a82db1d3478902f68bb503 Cr-Commit-Position: refs/heads/master@{#383789}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address nits #

Patch Set 3 : Use SkDoucment_PDF_None #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M skia/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (13 generated)
mbjorge
4 years, 8 months ago (2016-03-28 19:50:31 UTC) #2
slan
No [Chromecast] tag in the Commit Message, as this is just a general change. https://codereview.chromium.org/1842473002/diff/1/printing/pdf_metafile_skia.cc ...
4 years, 8 months ago (2016-03-28 20:03:44 UTC) #3
mbjorge
On 2016/03/28 at 20:03:44, slan wrote: > No [Chromecast] tag in the Commit Message, as ...
4 years, 8 months ago (2016-03-28 20:26:46 UTC) #5
mbjorge
https://codereview.chromium.org/1842473002/diff/1/printing/pdf_metafile_skia.cc File printing/pdf_metafile_skia.cc (right): https://codereview.chromium.org/1842473002/diff/1/printing/pdf_metafile_skia.cc#newcode68 printing/pdf_metafile_skia.cc:68: #if defined(ENABLE_PRINTING) && ENABLE_PRINTING On 2016/03/28 at 20:03:44, slan ...
4 years, 8 months ago (2016-03-28 20:26:52 UTC) #6
mbjorge
4 years, 8 months ago (2016-03-28 20:29:34 UTC) #8
hal.canary
On 2016/03/28 20:29:34, mbjorge wrote: You could compile in third_party/skia/src/pdf/SkDocument_PDF_None.cpp instead.
4 years, 8 months ago (2016-03-28 20:32:04 UTC) #9
mbjorge
On 2016/03/28 at 20:32:04, halcanary wrote: > On 2016/03/28 20:29:34, mbjorge wrote: > > You ...
4 years, 8 months ago (2016-03-28 20:58:30 UTC) #11
slan
lgtm
4 years, 8 months ago (2016-03-28 23:31:46 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1842473002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1842473002/40001
4 years, 8 months ago (2016-03-28 23:32:31 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-29 00:14:58 UTC) #16
hal.canary
Lgtm @ latest patch
4 years, 8 months ago (2016-03-29 00:19:20 UTC) #18
mbjorge
+robertphillips for OWNERS
4 years, 8 months ago (2016-03-29 00:55:59 UTC) #20
robertphillips1
lgtm
4 years, 8 months ago (2016-03-29 13:31:44 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1842473002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1842473002/40001
4 years, 8 months ago (2016-03-29 17:47:04 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/161565)
4 years, 8 months ago (2016-03-29 17:56:26 UTC) #25
mbjorge
Missing OWNER for skia/BUILD.gn? Oh, is this because the owners file lists robertphillips@google.com, but you ...
4 years, 8 months ago (2016-03-29 18:01:20 UTC) #27
robertphillips
lgtm
4 years, 8 months ago (2016-03-29 18:34:14 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1842473002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1842473002/40001
4 years, 8 months ago (2016-03-29 19:02:35 UTC) #30
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-03-29 19:07:41 UTC) #31
commit-bot: I haz the power
4 years, 8 months ago (2016-03-29 19:09:02 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4d5dc283f68c630748a82db1d3478902f68bb503
Cr-Commit-Position: refs/heads/master@{#383789}

Powered by Google App Engine
This is Rietveld 408576698