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

Issue 2630563003: Fix ImageBitmap constructor from ImageData to consider the color space tags (Closed)

Created:
3 years, 11 months ago by zakerinasab
Modified:
3 years, 11 months ago
CC:
chromium-reviews, krit, dshwang, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, Stephen Chennney, blink-reviews-html_chromium.org, pdr+graphicswatchlist_chromium.org, jbroman, Justin Novosad, dglazkov+blink, Rik, f(malita), blink-reviews, kinuko+watch, ajuma+watch_chromium.org, danakj+watch_chromium.org, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ImageBitmap constructor from ImageData to consider the color space tags This CL fixes ImageBitmap constructor from ImageData such that the constructor respects the color space tags of both ImageData and target ImageBitmap (as passed in ImageBitmapOptions parameter). This is a follow up for CL 2522693002, part of color management implementation for ImageBitmap as described in proposal: (github.com/junov/CanvasColorSpace/blob/master/CanvasColorSpaceProposal.md). BUG=665919 Review-Url: https://codereview.chromium.org/2630563003 Cr-Commit-Position: refs/heads/master@{#445453} Committed: https://chromium.googlesource.com/chromium/src/+/f5600ef4dc75558dd888842e742df522550fefc5

Patch Set 1 #

Patch Set 2 : Rebaseline #

Total comments: 12

Patch Set 3 : Addressing comments. #

Patch Set 4 : Rebaseline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -86 lines) Patch
M third_party/WebKit/Source/core/frame/ImageBitmap.cpp View 1 2 10 chunks +71 lines, -43 lines 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp View 3 chunks +81 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/ImageData.h View 4 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/ImageData.cpp View 1 4 chunks +55 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp View 1 2 3 8 chunks +39 lines, -16 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
zakerinasab1
New CL submitted for ImageBitmap(ImageData) constructor. PTAL.
3 years, 11 months ago (2017-01-12 19:10:42 UTC) #4
Justin Novosad
https://codereview.chromium.org/2630563003/diff/20001/third_party/WebKit/Source/core/frame/ImageBitmap.cpp File third_party/WebKit/Source/core/frame/ImageBitmap.cpp (right): https://codereview.chromium.org/2630563003/diff/20001/third_party/WebKit/Source/core/frame/ImageBitmap.cpp#newcode73 third_party/WebKit/Source/core/frame/ImageBitmap.cpp:73: if (options.colorSpaceConversion() != imageBitmapOptionNone) { Please file a crbug ...
3 years, 11 months ago (2017-01-17 20:00:09 UTC) #5
zakerinasab1
Comments addressed. New patch set uploaded. https://codereview.chromium.org/2630563003/diff/20001/third_party/WebKit/Source/core/frame/ImageBitmap.cpp File third_party/WebKit/Source/core/frame/ImageBitmap.cpp (right): https://codereview.chromium.org/2630563003/diff/20001/third_party/WebKit/Source/core/frame/ImageBitmap.cpp#newcode73 third_party/WebKit/Source/core/frame/ImageBitmap.cpp:73: if (options.colorSpaceConversion() != ...
3 years, 11 months ago (2017-01-18 18:34:21 UTC) #6
Justin Novosad
lgtm
3 years, 11 months ago (2017-01-23 15:55:07 UTC) #7
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/2630563003/60001
3 years, 11 months ago (2017-01-23 18:21:26 UTC) #10
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 20:09:51 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/f5600ef4dc75558dd888842e742d...

Powered by Google App Engine
This is Rietveld 408576698