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

Issue 1923943002: Remove all uses of skia::RefPtr (Closed)

Created:
4 years, 7 months ago by tomhudson
Modified:
4 years, 6 months ago
CC:
chromium-reviews, sadrul, posciak+watch_chromium.org, dshwang, sievers+watch_chromium.org, nyquist+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, piman+watch_chromium.org, kinuko+watch, danakj+watch_chromium.org, rwlbuis, extensions-reviews_chromium.org, pdr+graphicswatchlist_chromium.org, maniscalco+watch-blimp_chromium.org, Rik, jam, Justin Novosad, jbauman+watch_chromium.org, blink-reviews-platform-graphics_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, darin-cc_chromium.org, blink-reviews, chromium-apps-reviews_chromium.org, android-webview-reviews_chromium.org, mlamouri+watch-content_chromium.org, ozone-reviews_chromium.org, jbroman, feature-media-reviews_chromium.org, krit, mcasas+watch+vc_chromium.org, kalyank, drott+blinkwatch_chromium.org, Stephen Chennney, anandc+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, Ian Vollick, tfarina, f(malita), mkwst+moarreviews-renderer_chromium.org, cc-bugs_chromium.org, dtrainor+watch-blimp_chromium.org, James Cook, Wez
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove all uses of skia::RefPtr Finish deprecating skia::RefPtr in favor of sk_sp<>. This should significantly reduce the amount of manual reference management Chromium and Blink authors need to do for Skia objects. We still have some APIs vending raw pointers to ref-counted Skia objects which will need to be wrapped in sk_sp<>, but that should be easier and more predictable. This CL does *not* try to remove all cases of raw pointers to Skia objects in Chromium. BUG=skia:5077 TBR=jamescook@chromium.org,wez@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/8691d7777e2ffbf7ea7ca351acc9dd02ab888d69 Cr-Commit-Position: refs/heads/master@{#398874}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : restore unwanted header on windows until typefaces done #

Patch Set 6 : rebase et al #

Patch Set 7 : free the SkTypefaces #

Patch Set 8 : random windows <algorithm> missing? #

Patch Set 9 : rebase #

Patch Set 10 : fix bad rebase in ppapi? #

Patch Set 11 : rebase #

Patch Set 12 : fix bad rebase in font_config_ipc_linux #

Patch Set 13 : rebase was backwards in header file too #

Patch Set 14 : #

Total comments: 1

Patch Set 15 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -14 lines) Patch
M ash/touch/touch_hud_projection.cc View 1 chunk +0 lines, -1 line 0 comments Download
M blimp/client/feature/compositor/blimp_context_provider.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M components/font_service/public/cpp/mapped_font_file.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M printing/metafile_skia_wrapper.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M skia/ext/analysis_canvas_unittest.cc View 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 48 (24 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/1923943002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923943002/20001
4 years, 7 months ago (2016-04-27 17:06:01 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/151697)
4 years, 7 months ago (2016-04-27 17:21:59 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923943002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923943002/40001
4 years, 7 months ago (2016-04-27 17:50:44 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/57329)
4 years, 7 months ago (2016-04-27 18:06:37 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923943002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923943002/60001
4 years, 7 months ago (2016-04-27 20:51:29 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/151895)
4 years, 7 months ago (2016-04-27 21:25:49 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923943002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923943002/100001
4 years, 7 months ago (2016-04-29 16:27:45 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/182997)
4 years, 7 months ago (2016-04-29 17:21:03 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923943002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923943002/120001
4 years, 7 months ago (2016-04-29 18:27:32 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923943002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923943002/160001
4 years, 7 months ago (2016-05-11 18:07:03 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/225950)
4 years, 7 months ago (2016-05-11 19:02:10 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923943002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1923943002/180001
4 years, 7 months ago (2016-05-12 15:12:27 UTC) #27
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/85793)
4 years, 7 months ago (2016-05-12 16:21:41 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923943002/240001
4 years, 6 months ago (2016-06-08 18:52:26 UTC) #31
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-08 20:09:49 UTC) #33
tomhudson
fmalita@: Skia reviewer. erg@: please review components/font_service/ thestig@: please review printing/ I propose to remove ...
4 years, 6 months ago (2016-06-08 20:23:20 UTC) #35
Elliot Glaysher
components/font_service lgtm
4 years, 6 months ago (2016-06-08 20:29:15 UTC) #37
Lei Zhang
lgtm https://codereview.chromium.org/1923943002/diff/260001/printing/pdf_metafile_skia.cc File printing/pdf_metafile_skia.cc (left): https://codereview.chromium.org/1923943002/diff/260001/printing/pdf_metafile_skia.cc#oldcode159 printing/pdf_metafile_skia.cc:159: halcanary@ just landed a change in this file. ...
4 years, 6 months ago (2016-06-09 00:14:20 UTC) #38
f(malita)
lgtm
4 years, 6 months ago (2016-06-09 00:24:58 UTC) #39
tomhudson
On 2016/06/09 00:14:20, Lei Zhang (Slow) wrote: > lgtm > > https://codereview.chromium.org/1923943002/diff/260001/printing/pdf_metafile_skia.cc > File printing/pdf_metafile_skia.cc ...
4 years, 6 months ago (2016-06-09 13:57:10 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1923943002/280001
4 years, 6 months ago (2016-06-09 13:57:44 UTC) #43
commit-bot: I haz the power
Committed patchset #15 (id:280001)
4 years, 6 months ago (2016-06-09 14:41:02 UTC) #45
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-09 14:41:13 UTC) #46
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 14:42:40 UTC) #48
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/8691d7777e2ffbf7ea7ca351acc9dd02ab888d69
Cr-Commit-Position: refs/heads/master@{#398874}

Powered by Google App Engine
This is Rietveld 408576698