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

Issue 1319113002: Remove WEBP encoder SkBitmap API (Closed)

Created:
5 years, 3 months ago by Noel Gordon
Modified:
5 years, 3 months ago
Reviewers:
f(malita), urvang
CC:
blink-reviews, jzern, skal, urvang, vikasa, reed1, scroggo, Justin Novosad, Stephen White
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Remove WEBP encoder SkBitmap API SkBitmap is being removed from Chrome. There are no longer any callers of WEBPImageEncoder::encode(SkBitmap,...) so we can remove it and also the support code it required. No change in behavior, no new tests. TBR=fmalita@chromium.org BUG=449197 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201373

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -41 lines) Patch
M Source/platform/image-encoders/skia/WEBPImageEncoder.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/platform/image-encoders/skia/WEBPImageEncoder.cpp View 5 chunks +4 lines, -38 lines 1 comment Download

Messages

Total messages: 11 (3 generated)
Noel Gordon
5 years, 3 months ago (2015-08-28 04:37:47 UTC) #2
Noel Gordon
canvas/ fast/canvas/ fast/image passing locally for me, PTAL.
5 years, 3 months ago (2015-08-28 04:39:29 UTC) #3
Noel Gordon
try tests passing ...
5 years, 3 months ago (2015-08-28 06:01:58 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1319113002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1319113002/1
5 years, 3 months ago (2015-08-28 06:02:14 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://src.chromium.org/viewvc/blink?view=rev&revision=201373
5 years, 3 months ago (2015-08-28 06:06:40 UTC) #7
f(malita)
LGTM!
5 years, 3 months ago (2015-08-28 12:33:17 UTC) #8
urvang
lgtm https://codereview.chromium.org/1319113002/diff/1/Source/platform/image-encoders/skia/WEBPImageEncoder.cpp File Source/platform/image-encoders/skia/WEBPImageEncoder.cpp (right): https://codereview.chromium.org/1319113002/diff/1/Source/platform/image-encoders/skia/WEBPImageEncoder.cpp#newcode91 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp:91: if (!rgbPictureImport(pixels, &WebPPictureImportRGB, &picture)) It would be helpful ...
5 years, 3 months ago (2015-08-28 17:20:58 UTC) #10
Noel Gordon
5 years, 3 months ago (2015-09-01 14:46:24 UTC) #11
Message was sent while issue was closed.
On 2015/08/28 17:20:58, urvang wrote:

>
https://codereview.chromium.org/1319113002/diff/1/Source/platform/image-encod...
> Source/platform/image-encoders/skia/WEBPImageEncoder.cpp:91: if
> (!rgbPictureImport(pixels, &WebPPictureImportRGB, &picture))
> It would be helpful to put a comment that ImageDataBuffer gives
> non-premultiplied pixels in RGBA format.

Even better to ditch the comment and write it in code ...

https://codereview.chromium.org/1302423004/patch/100001/110013

Powered by Google App Engine
This is Rietveld 408576698