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

Issue 1457033002: Get rid of unused skia::IsDraftMode() (Closed)

Created:
5 years, 1 month ago by tomhudson
Modified:
5 years, 1 month ago
CC:
chromium-reviews, vandebo (ex-Chrome)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Get rid of unused skia::IsDraftMode() We had callers of SetIsDraftMode, but no code that actually queried for that metadata. This helps us get rid of platform_device.h. Since [Set]IsPreviewMetafile() is only used on Mac, remove ifdef that also built those functions on Windows. BUG=543755 R=halcanary@chromium.org,thestig@chromium.org Committed: https://crrev.com/fa5a66979cdf91dc7c0cb79f54dda08254c343ec Cr-Commit-Position: refs/heads/master@{#360597}

Patch Set 1 #

Total comments: 4

Patch Set 2 : thestig review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -23 lines) Patch
M components/printing/renderer/print_web_view_helper_linux.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M components/printing/renderer/print_web_view_helper_mac.mm View 1 chunk +0 lines, -1 line 0 comments Download
M components/printing/renderer/print_web_view_helper_pdf_win.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M skia/ext/platform_device.h View 1 1 chunk +3 lines, -5 lines 0 comments Download
M skia/ext/platform_device.cc View 1 2 chunks +4 lines, -13 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (6 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1457033002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1457033002/1
5 years, 1 month ago (2015-11-18 19:18:00 UTC) #2
Tom Hudson
Looks like bots are happy; PTAL.
5 years, 1 month ago (2015-11-18 20:11:00 UTC) #3
Lei Zhang
We never implemented draft mode. Oh well. https://codereview.chromium.org/1457033002/diff/1/skia/ext/platform_device.cc File skia/ext/platform_device.cc (right): https://codereview.chromium.org/1457033002/diff/1/skia/ext/platform_device.cc#newcode14 skia/ext/platform_device.cc:14: const char* ...
5 years, 1 month ago (2015-11-18 20:19:36 UTC) #4
Lei Zhang
and lgtm
5 years, 1 month ago (2015-11-18 20:19:54 UTC) #5
Tom Hudson
Thanks for the careful reading; should all be done now.
5 years, 1 month ago (2015-11-18 20:46:47 UTC) #6
hal.canary
lgtm
5 years, 1 month ago (2015-11-18 20:56:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1457033002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1457033002/20001
5 years, 1 month ago (2015-11-19 13:24:48 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/98288)
5 years, 1 month ago (2015-11-19 13:44:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1457033002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1457033002/20001
5 years, 1 month ago (2015-11-19 15:00:12 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-19 16:22:52 UTC) #16
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 16:23:56 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fa5a66979cdf91dc7c0cb79f54dda08254c343ec
Cr-Commit-Position: refs/heads/master@{#360597}

Powered by Google App Engine
This is Rietveld 408576698