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

Issue 11412255: cc: Use skia::RefPtr in place of raw pointers and SkAutoTUnref. (Closed)

Created:
8 years ago by danakj
Modified:
8 years ago
CC:
chromium-reviews, cc-bugs_chromium.org, piman, backer
Visibility:
Public.

Description

cc: Use skia::RefPtr in place of raw pointers and SkAutoTUnref. Safe reference counting for skia objects ahoy! R=jamesr BUG=163454 Depends on: https://codereview.chromium.org/11418217/ NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170889

Patch Set 1 #

Patch Set 2 : cc_messages #

Patch Set 3 : Add webkit #

Total comments: 2

Patch Set 4 : ref() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -89 lines) Patch
M cc/damage_tracker_unittest.cc View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M cc/gl_renderer.cc View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
M cc/heads_up_display_layer_impl.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M cc/layer.h View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M cc/layer.cc View 1 2 3 3 chunks +3 lines, -6 lines 0 comments Download
M cc/layer_impl.h View 1 2 3 3 chunks +5 lines, -3 lines 0 comments Download
M cc/layer_impl.cc View 1 2 3 4 chunks +3 lines, -6 lines 0 comments Download
M cc/layer_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cc/picture.h View 2 chunks +5 lines, -2 lines 0 comments Download
M cc/picture.cc View 1 2 3 4 chunks +7 lines, -6 lines 0 comments Download
M cc/render_pass.h View 3 chunks +4 lines, -4 lines 0 comments Download
M cc/render_pass.cc View 4 chunks +3 lines, -7 lines 0 comments Download
M cc/render_pass_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/render_surface_filters.cc View 7 chunks +21 lines, -17 lines 0 comments Download
M cc/render_surface_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/resource_update_controller.cc View 4 chunks +8 lines, -6 lines 0 comments Download
M cc/software_renderer.cc View 2 chunks +13 lines, -11 lines 0 comments Download
M content/common/cc_messages.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M content/common/cc_messages_unittest.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
M webkit/compositor_bindings/web_layer_impl.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
danakj
james, here's just the cc/ bits from that huge skia::RefPtr CL
8 years ago (2012-11-29 22:45:24 UTC) #1
danakj
+senorblanco as well
8 years ago (2012-11-29 22:53:05 UTC) #2
Stephen White
LGTM https://codereview.chromium.org/11412255/diff/5001/webkit/compositor_bindings/web_layer_impl.cc File webkit/compositor_bindings/web_layer_impl.cc (right): https://codereview.chromium.org/11412255/diff/5001/webkit/compositor_bindings/web_layer_impl.cc#newcode244 webkit/compositor_bindings/web_layer_impl.cc:244: m_layer->setFilter(skia::AdoptRef(filter)); It would be nice to clean this ...
8 years ago (2012-12-03 19:32:09 UTC) #3
danakj
https://codereview.chromium.org/11412255/diff/5001/webkit/compositor_bindings/web_layer_impl.cc File webkit/compositor_bindings/web_layer_impl.cc (right): https://codereview.chromium.org/11412255/diff/5001/webkit/compositor_bindings/web_layer_impl.cc#newcode244 webkit/compositor_bindings/web_layer_impl.cc:244: m_layer->setFilter(skia::AdoptRef(filter)); On 2012/12/03 19:32:09, Stephen White wrote: > It ...
8 years ago (2012-12-03 20:08:27 UTC) #4
danakj
jamesr@ can you owners review please?
8 years ago (2012-12-03 20:10:27 UTC) #5
danakj
+cdn for OWNERS/security on the cc_messages.cc change. It is just wrapping the NULL in a ...
8 years ago (2012-12-03 20:11:46 UTC) #6
jamesr
lgtm
8 years ago (2012-12-03 20:15:09 UTC) #7
Cris Neckar
lgtm
8 years ago (2012-12-03 20:24:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11412255/5002
8 years ago (2012-12-04 00:40:30 UTC) #9
commit-bot: I haz the power
Presubmit check for 11412255-5002 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-04 00:40:38 UTC) #10
danakj
+piman for content/ OWNERS
8 years ago (2012-12-04 00:41:35 UTC) #11
piman
lgtm
8 years ago (2012-12-04 00:44:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11412255/5002
8 years ago (2012-12-04 00:45:26 UTC) #13
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests
8 years ago (2012-12-04 04:41:33 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11412255/5002
8 years ago (2012-12-04 05:01:16 UTC) #15
commit-bot: I haz the power
8 years ago (2012-12-04 05:08:17 UTC) #16
Message was sent while issue was closed.
Change committed as 170889

Powered by Google App Engine
This is Rietveld 408576698