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

Issue 11361131: Pass the ImageSkia by pointer instead of by reference, which will create shallow copy. (Closed)

Created:
8 years, 1 month ago by oshima
Modified:
8 years, 1 month ago
Reviewers:
pkotwicz, bshe, sky
CC:
chromium-reviews, rsesek+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

- Pass the ImageSkia by pointer instead of by reference, which will create shallow copy of the deep copyed image skia. This changes ImageSkia::DeepCopy to return scoped_ptr<ImageSkia> so that i can safely transfer ownership without creating shallow copy of ImageSkia. - Make sure all image reps are generated before passing to anther thread. This is hypothetical fix for 159557 BUG=159557 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167390

Patch Set 1 #

Patch Set 2 : win_aura #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -27 lines) Patch
M chrome/browser/chromeos/login/wallpaper_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager.cc View 1 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/metro_pin_tab_helper_win.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M ui/gfx/image/image_skia.h View 2 chunks +2 lines, -1 line 0 comments Download
M ui/gfx/image/image_skia.cc View 1 chunk +7 lines, -7 lines 0 comments Download
M ui/gfx/image/image_skia_unittest.cc View 1 chunk +12 lines, -12 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
oshima
8 years, 1 month ago (2012-11-06 22:28:20 UTC) #1
oshima
8 years, 1 month ago (2012-11-06 22:28:25 UTC) #2
pkotwicz
LGTM for M23, I would like to find a simpler way to do this for ...
8 years, 1 month ago (2012-11-07 06:48:50 UTC) #3
pkotwicz
Btw, not necessarily as part of this CL, can you write a test demonstrating how ...
8 years, 1 month ago (2012-11-07 17:09:45 UTC) #4
bshe
On 2012/11/07 17:09:45, pkotwicz wrote: > Btw, not necessarily as part of this CL, can ...
8 years, 1 month ago (2012-11-07 17:19:51 UTC) #5
oshima
On 2012/11/07 17:09:45, pkotwicz wrote: > Btw, not necessarily as part of this CL, can ...
8 years, 1 month ago (2012-11-07 18:38:07 UTC) #6
oshima
ben -> ui/ OWNERS
8 years, 1 month ago (2012-11-07 20:58:48 UTC) #7
oshima
ben is OOO. scott, could you please review this?
8 years, 1 month ago (2012-11-09 22:39:36 UTC) #8
sky
LGTM
8 years, 1 month ago (2012-11-09 23:04:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/11361131/1
8 years, 1 month ago (2012-11-09 23:09:53 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years, 1 month ago (2012-11-10 00:13:13 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/11361131/1009
8 years, 1 month ago (2012-11-10 15:50:03 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/11361131/1009
8 years, 1 month ago (2012-11-13 14:32:21 UTC) #13
commit-bot: I haz the power
8 years, 1 month ago (2012-11-13 14:39:40 UTC) #14
Change committed as 167390

Powered by Google App Engine
This is Rietveld 408576698