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

Issue 11299262: ui: Use skia::RefPtr<T> for implicit safe reference counting. (Closed)

Created:
8 years ago by danakj
Modified:
8 years ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, sail+watch_chromium.org, piman, backer, Stephen White
Visibility:
Public.

Description

ui: Use skia::RefPtr<T> for implicit safe reference counting. R=sky BUG=163454 Depends on: https://codereview.chromium.org/11418217/ NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171107

Patch Set 1 #

Patch Set 2 : SkAutoUnref #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : except owned_canvas #

Patch Set 5 : nitted #

Total comments: 2

Patch Set 6 : Adopt in mac #

Patch Set 7 : Missed adopts #

Patch Set 8 : rebase #

Patch Set 9 : newshader #

Patch Set 10 : shader #

Patch Set 11 : winbuild #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -188 lines) Patch
M chrome/browser/ui/gtk/gtk_theme_service.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_ui.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/detachable_toolbar_view.cc View 1 2 3 2 chunks +6 lines, -6 lines 0 comments Download
M ui/gfx/blit_unittest.cc View 1 2 3 4 5 6 2 chunks +6 lines, -6 lines 0 comments Download
M ui/gfx/canvas.h View 2 chunks +2 lines, -1 line 0 comments Download
M ui/gfx/canvas.cc View 1 2 3 4 8 chunks +30 lines, -29 lines 0 comments Download
M ui/gfx/canvas_mac.mm View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M ui/gfx/platform_font_pango.h View 4 chunks +8 lines, -10 lines 0 comments Download
M ui/gfx/platform_font_pango.cc View 1 2 6 chunks +12 lines, -16 lines 0 comments Download
M ui/gfx/render_text.cc View 1 2 4 chunks +17 lines, -18 lines 0 comments Download
M ui/gfx/skbitmap_operations.cc View 3 chunks +8 lines, -6 lines 0 comments Download
M ui/gfx/skia_util.h View 2 chunks +10 lines, -19 lines 0 comments Download
M ui/gfx/skia_util.cc View 3 chunks +25 lines, -23 lines 0 comments Download
M ui/native_theme/native_theme_base.cc View 2 chunks +8 lines, -8 lines 0 comments Download
M ui/native_theme/native_theme_win.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -8 lines 0 comments Download
M ui/views/controls/glow_hover_controller.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M ui/views/controls/menu/menu_image_util.cc View 2 chunks +11 lines, -10 lines 0 comments Download
M ui/views/controls/progress_bar.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M ui/views/painter.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M ui/views/touchui/touch_selection_controller_impl.cc View 1 2 3 4 5 6 1 chunk +6 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
danakj
8 years ago (2012-11-29 23:33:40 UTC) #1
sky
https://codereview.chromium.org/11299262/diff/1019/chrome/browser/ui/views/detachable_toolbar_view.cc File chrome/browser/ui/views/detachable_toolbar_view.cc (right): https://codereview.chromium.org/11299262/diff/1019/chrome/browser/ui/views/detachable_toolbar_view.cc#newcode122 chrome/browser/ui/views/detachable_toolbar_view.cc:122: skia::RefPtr<SkShader> shader; Is there a reason for keeping this ...
8 years ago (2012-11-29 23:54:55 UTC) #2
danakj
https://codereview.chromium.org/11299262/diff/1019/chrome/browser/ui/views/detachable_toolbar_view.cc File chrome/browser/ui/views/detachable_toolbar_view.cc (right): https://codereview.chromium.org/11299262/diff/1019/chrome/browser/ui/views/detachable_toolbar_view.cc#newcode122 chrome/browser/ui/views/detachable_toolbar_view.cc:122: skia::RefPtr<SkShader> shader; On 2012/11/29 23:54:56, sky wrote: > Is ...
8 years ago (2012-11-30 00:12:21 UTC) #3
sky
https://codereview.chromium.org/11299262/diff/1019/ui/gfx/canvas.cc File ui/gfx/canvas.cc (right): https://codereview.chromium.org/11299262/diff/1019/ui/gfx/canvas.cc#newcode30 ui/gfx/canvas.cc:30: owned_canvas_(), On 2012/11/30 00:12:21, danakj wrote: > On 2012/11/29 ...
8 years ago (2012-11-30 01:31:47 UTC) #4
danakj
https://codereview.chromium.org/11299262/diff/1019/ui/gfx/canvas.cc File ui/gfx/canvas.cc (right): https://codereview.chromium.org/11299262/diff/1019/ui/gfx/canvas.cc#newcode30 ui/gfx/canvas.cc:30: owned_canvas_(), On 2012/11/30 01:31:47, sky wrote: > On 2012/11/30 ...
8 years ago (2012-11-30 01:32:39 UTC) #5
danakj
PTAL, done everything.
8 years ago (2012-11-30 01:36:28 UTC) #6
sky
https://codereview.chromium.org/11299262/diff/4002/ui/gfx/canvas_mac.mm File ui/gfx/canvas_mac.mm (right): https://codereview.chromium.org/11299262/diff/4002/ui/gfx/canvas_mac.mm#newcode62 ui/gfx/canvas_mac.mm:62: skia::RefPtr<SkTypeface> typeface = SkTypeface::CreateFromName( Is it just me, or ...
8 years ago (2012-12-03 15:28:49 UTC) #7
danakj
https://codereview.chromium.org/11299262/diff/4002/ui/gfx/canvas_mac.mm File ui/gfx/canvas_mac.mm (right): https://codereview.chromium.org/11299262/diff/4002/ui/gfx/canvas_mac.mm#newcode62 ui/gfx/canvas_mac.mm:62: skia::RefPtr<SkTypeface> typeface = SkTypeface::CreateFromName( On 2012/12/03 15:28:49, sky wrote: ...
8 years ago (2012-12-03 17:00:19 UTC) #8
sky
LGTM
8 years ago (2012-12-03 18:08:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11299262/12003
8 years ago (2012-12-04 00:39:45 UTC) #10
commit-bot: I haz the power
Failed to apply patch for chrome/renderer/print_web_view_helper_linux.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years ago (2012-12-04 00:39:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11299262/7019
8 years ago (2012-12-05 00:16:23 UTC) #12
commit-bot: I haz the power
8 years ago (2012-12-05 01:00:56 UTC) #13
Message was sent while issue was closed.
Change committed as 171107

Powered by Google App Engine
This is Rietveld 408576698