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

Issue 1849213002: Remove SK_SUPPORT_LEGACY_XFERMODE_PTR (Closed)

Created:
4 years, 8 months ago by tomhudson
Modified:
4 years, 8 months ago
CC:
chromium-reviews, krit, pdr+graphicswatchlist_chromium.org, drott+blinkwatch_chromium.org, danakj+watch_chromium.org, ajuma+watch-canvas_chromium.org, tfarina, dshwang, jbroman, Justin Novosad, haraken, Rik, Stephen Chennney, blink-reviews-platform-graphics_chromium.org, blink-reviews, f(malita), cc-bugs_chromium.org, kinuko+watch, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove SK_SUPPORT_LEGACY_XFERMODE_PTR Favor Skia's sk_sp smart pointers over the old raw pointer API. Also take advantage of a few nearby sk_sp<SkImageFilter> opportunities. R=fmalita@chromium.org,danakj@chromium.org TBR=sky@chromium.org,junov@chromium.org BUG=599466, skia:5077 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/54fdf8fba6470d68d6ba4abaf738e570c7137a04 Cr-Commit-Position: refs/heads/master@{#384684}

Patch Set 1 #

Patch Set 2 : Adopt the pointer but don't ref it #

Total comments: 7

Patch Set 3 : move or inline per review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -38 lines) Patch
M cc/output/gl_renderer.cc View 1 2 2 chunks +4 lines, -10 lines 0 comments Download
M cc/output/software_renderer.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M skia/config/SkUserConfig.h View 1 chunk +0 lines, -4 lines 0 comments Download
M skia/ext/benchmarking_canvas.h View 2 chunks +1 line, -2 lines 0 comments Download
M skia/ext/benchmarking_canvas.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FEBlend.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FEComposite.cpp View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.cpp View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M ui/views/controls/button/label_button_border.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 16 (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/1849213002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849213002/1
4 years, 8 months ago (2016-04-01 13:42:26 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/139114)
4 years, 8 months ago (2016-04-01 15:57:12 UTC) #5
tomhudson
Another smart pointer change with a fairly small footprint.
4 years, 8 months ago (2016-04-01 17:28:31 UTC) #6
f(malita)
LGTM % move tweaks. https://codereview.chromium.org/1849213002/diff/20001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/1849213002/diff/20001/cc/output/gl_renderer.cc#newcode656 cc/output/gl_renderer.cc:656: paint.setImageFilter(filter_with_local_scale); std::move(filter_with_local_scale) or inline. https://codereview.chromium.org/1849213002/diff/20001/cc/output/software_renderer.cc ...
4 years, 8 months ago (2016-04-01 18:16:01 UTC) #7
tomhudson
Ugh, yeah, too rushed of me. All done, preferring inlining.
4 years, 8 months ago (2016-04-01 18:35:31 UTC) #8
danakj
cc LGTM
4 years, 8 months ago (2016-04-01 18:46:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849213002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849213002/40001
4 years, 8 months ago (2016-04-01 18:51:50 UTC) #12
sky
LGTM
4 years, 8 months ago (2016-04-01 20:31:42 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-01 20:46:04 UTC) #14
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 20:48:24 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/54fdf8fba6470d68d6ba4abaf738e570c7137a04
Cr-Commit-Position: refs/heads/master@{#384684}

Powered by Google App Engine
This is Rietveld 408576698