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

Issue 2855503003: Replace uses of legacy SkBitmap::copyTo() API (Closed)

Created:
3 years, 7 months ago by msarett
Modified:
3 years, 7 months ago
CC:
aboxhall+watch_chromium.org, achuith+watch_chromium.org, alemate+watch_chromium.org, blink-reviews, cc-bugs_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, davemoore+watch_chromium.org, dmazzoni+watch_chromium.org, dougt+watch_chromium.org, dtseng+watch_chromium.org, elijahtaylor+arcwatch_chromium.org, extensions-reviews_chromium.org, hidehiko+watch_chromium.org, jam, je_julie, jochen+watch_chromium.org, kinuko+watch, lhchavez+watch_chromium.org, mlamouri+watch-content_chromium.org, nektar+watch_chromium.org, oshima+watch_chromium.org, Peter Beverloo, victorhsieh+watch_chromium.org, yusukes+watch_chromium.org, yuzo+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace uses of legacy SkBitmap::copyTo() API BUG=skia:6464 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2855503003 Cr-Commit-Position: refs/heads/master@{#468945} Committed: https://chromium.googlesource.com/chromium/src/+/95ea1df0596b4ee4ac745405b321e20b68f05d42

Patch Set 1 #

Patch Set 2 : Fix paren errors #

Total comments: 5

Patch Set 3 : Make tests more clear #

Total comments: 2

Patch Set 4 : Fix ios #

Patch Set 5 : Win fix #

Patch Set 6 : image_info #

Total comments: 2

Patch Set 7 : Remove braces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -25 lines) Patch
M cc/ipc/struct_traits_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/android/compositor/layer/contextual_search_layer.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/bitmap_fetcher/bitmap_fetcher_browsertest.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc View 1 2 3 4 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/screenshot_testing/SkPMetric.cpp View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/bookmark_app_helper.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_shortcut_manager_win.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M chrome/renderer/chrome_render_frame_observer.cc View 1 1 chunk +7 lines, -3 lines 0 comments Download
M components/arc/bitmap/bitmap_struct_traits.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 chunk +3 lines, -1 line 0 comments Download
M content/shell/test_runner/pixel_dump.cc View 1 chunk +4 lines, -1 line 0 comments Download
M headless/lib/browser/headless_clipboard.cc View 1 chunk +4 lines, -1 line 0 comments Download
M ios/chrome/browser/google/google_logo_service.mm View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M skia/config/SkUserConfig.h View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp View 1 chunk +4 lines, -1 line 0 comments Download
M ui/base/clipboard/clipboard_aura.cc View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M ui/base/test/test_clipboard.cc View 1 chunk +4 lines, -1 line 0 comments Download
M ui/native_theme/native_theme_win.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 67 (47 generated)
msarett1
3 years, 7 months ago (2017-05-01 17:01:25 UTC) #3
f(malita)
https://codereview.chromium.org/2855503003/diff/20001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc File chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc (right): https://codereview.chromium.org/2855503003/diff/20001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc#newcode84 chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc:84: image_.asLegacyBitmap(&before_bmp_, SkImage::kRW_LegacyBitmapMode); asLegacyBitmap() doesn't copy the pixels for raster ...
3 years, 7 months ago (2017-05-01 18:00:07 UTC) #4
msarett1
https://codereview.chromium.org/2855503003/diff/20001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc File chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc (right): https://codereview.chromium.org/2855503003/diff/20001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc#newcode84 chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc:84: image_.asLegacyBitmap(&before_bmp_, SkImage::kRW_LegacyBitmapMode); On 2017/05/01 18:00:06, f(malita) wrote: > asLegacyBitmap() ...
3 years, 7 months ago (2017-05-01 18:04:55 UTC) #5
f(malita)
https://codereview.chromium.org/2855503003/diff/20001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc File chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc (right): https://codereview.chromium.org/2855503003/diff/20001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc#newcode84 chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc:84: image_.asLegacyBitmap(&before_bmp_, SkImage::kRW_LegacyBitmapMode); On 2017/05/01 18:04:55, msarett1 wrote: > On ...
3 years, 7 months ago (2017-05-01 18:36:01 UTC) #6
msarett1
https://codereview.chromium.org/2855503003/diff/20001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc File chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc (right): https://codereview.chromium.org/2855503003/diff/20001/chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc#newcode84 chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc:84: image_.asLegacyBitmap(&before_bmp_, SkImage::kRW_LegacyBitmapMode); On 2017/05/01 18:36:01, f(malita) wrote: > On ...
3 years, 7 months ago (2017-05-01 19:53:50 UTC) #7
msarett1
Adding OWNERs for review. Please take a look! dcheng@ cc/ipc/ ui/base/ components/arc/bitmap/ dfalcantara@ chrome/browser/bitmap_fetcher/ dmazzoni@ ...
3 years, 7 months ago (2017-05-01 20:44:02 UTC) #8
msarett1
Adding OWNERs for review. Please take a look! dcheng@ cc/ipc/ ui/base/ components/arc/bitmap/ dfalcantara@ chrome/browser/bitmap_fetcher/ dmazzoni@ ...
3 years, 7 months ago (2017-05-01 20:45:15 UTC) #10
gone
bitmap_fetcher lgtm
3 years, 7 months ago (2017-05-02 01:10:24 UTC) #11
jochen (gone - plz use gerrit)
lgtm
3 years, 7 months ago (2017-05-02 09:07:59 UTC) #12
msarett1
Adding ios OWNER. Updated patch to change additional callsite in ios.
3 years, 7 months ago (2017-05-02 15:46:10 UTC) #24
rohitrao (ping after 24h)
ios/ lgtm
3 years, 7 months ago (2017-05-02 16:39:17 UTC) #27
Sami
headless/ lgtm
3 years, 7 months ago (2017-05-02 17:57:28 UTC) #30
dcheng
FWIW, it's not clear to me that readPixels() is clearly superior to copyTo() as used ...
3 years, 7 months ago (2017-05-02 19:16:13 UTC) #42
msarett1
> FWIW, it's not clear to me that readPixels() is clearly superior to copyTo() as ...
3 years, 7 months ago (2017-05-02 19:28:37 UTC) #43
dcheng
On 2017/05/02 19:28:37, msarett1 wrote: > > FWIW, it's not clear to me that readPixels() ...
3 years, 7 months ago (2017-05-02 20:13:12 UTC) #46
msarett1
Just needs one more OWNER. estade@, would you mind looking at ui/native_theme?
3 years, 7 months ago (2017-05-02 21:26:27 UTC) #53
Evan Stade
rubber stamp lgtm https://codereview.chromium.org/2855503003/diff/180001/ui/native_theme/native_theme_win.cc File ui/native_theme/native_theme_win.cc (right): https://codereview.chromium.org/2855503003/diff/180001/ui/native_theme/native_theme_win.cc#newcode80 ui/native_theme/native_theme_win.cc:80: } nit: no curlies
3 years, 7 months ago (2017-05-02 23:25:42 UTC) #56
msarett1
https://codereview.chromium.org/2855503003/diff/180001/ui/native_theme/native_theme_win.cc File ui/native_theme/native_theme_win.cc (right): https://codereview.chromium.org/2855503003/diff/180001/ui/native_theme/native_theme_win.cc#newcode80 ui/native_theme/native_theme_win.cc:80: } On 2017/05/02 23:25:42, Evan Stade wrote: > nit: ...
3 years, 7 months ago (2017-05-03 02:40:18 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2855503003/200001
3 years, 7 months ago (2017-05-03 12:18:08 UTC) #64
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 12:23:08 UTC) #67
Message was sent while issue was closed.
Committed patchset #7 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/95ea1df0596b4ee4ac745405b321...

Powered by Google App Engine
This is Rietveld 408576698