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

Issue 2939243002: cc/blink: Veto checker-imaging for multipart image resources. (Closed)

Created:
3 years, 6 months ago by Khushal
Modified:
3 years, 6 months ago
Reviewers:
chrishtr, vmpstr
CC:
blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, cc-bugs_chromium.org, chromium-reviews, dshwang, drott+blinkwatch_chromium.org, krit, fmalita+watch_chromium.org, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cc/blink: Veto checker-imaging for multipart image resources. Multipart images resources can be used for displaying mjpg videos which should not be checkered. Plumb this state from blink to cc using PaintImage to veto them from checkering. BUG=733247 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2939243002 Cr-Commit-Position: refs/heads/master@{#481216} Committed: https://chromium.googlesource.com/chromium/src/+/54b956cfa0755b0e4777d1e422e3e560c00c6f92

Patch Set 1 #

Total comments: 7

Patch Set 2 : comments. #

Total comments: 2

Patch Set 3 : tested #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -43 lines) Patch
M cc/paint/paint_image.h View 1 3 chunks +6 lines, -1 line 0 comments Download
M cc/paint/paint_image.cc View 1 2 chunks +6 lines, -3 lines 0 comments Download
M cc/tiles/checker_image_tracker.cc View 1 2 chunks +24 lines, -9 lines 0 comments Download
M cc/tiles/checker_image_tracker_unittest.cc View 1 3 chunks +22 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/loader/resource/ImageResource.cpp View 1 3 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/loader/resource/ImageResourceContent.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/resource/ImageResourceContent.cpp View 1 2 3 chunks +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/loader/resource/ImageResourceTest.cpp View 1 2 2 chunks +39 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.h View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/BitmapImage.h View 1 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/BitmapImage.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Image.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/Image.cpp View 1 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
Khushal
3 years, 6 months ago (2017-06-16 00:27:53 UTC) #3
chrishtr
This CL needs a test. Otherwise looks reasonable.
3 years, 6 months ago (2017-06-16 00:45:17 UTC) #4
vmpstr
mostly nits, rs lgtm % chrishtr https://codereview.chromium.org/2939243002/diff/1/cc/paint/paint_image.h File cc/paint/paint_image.h (right): https://codereview.chromium.org/2939243002/diff/1/cc/paint/paint_image.h#newcode78 cc/paint/paint_image.h:78: bool is_multi_part_ = ...
3 years, 6 months ago (2017-06-16 17:35:37 UTC) #5
Khushal
https://codereview.chromium.org/2939243002/diff/1/cc/paint/paint_image.h File cc/paint/paint_image.h (right): https://codereview.chromium.org/2939243002/diff/1/cc/paint/paint_image.h#newcode78 cc/paint/paint_image.h:78: bool is_multi_part_ = false; On 2017/06/16 17:35:36, vmpstr wrote: ...
3 years, 6 months ago (2017-06-16 18:26:33 UTC) #6
Khushal
On 2017/06/16 00:45:17, chrishtr wrote: > This CL needs a test. Otherwise looks reasonable. Thanks ...
3 years, 6 months ago (2017-06-16 18:27:53 UTC) #7
Khushal
pingy.
3 years, 6 months ago (2017-06-20 17:34:58 UTC) #8
chrishtr
https://codereview.chromium.org/2939243002/diff/20001/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp File third_party/WebKit/Source/core/loader/resource/ImageResource.cpp (right): https://codereview.chromium.org/2939243002/diff/20001/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp#newcode615 third_party/WebKit/Source/core/loader/resource/ImageResource.cpp:615: bool is_multipart = !!multipart_parser_; Test this in ImageResourceTest.cpp?
3 years, 6 months ago (2017-06-20 21:22:53 UTC) #9
Khushal
https://codereview.chromium.org/2939243002/diff/20001/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp File third_party/WebKit/Source/core/loader/resource/ImageResource.cpp (right): https://codereview.chromium.org/2939243002/diff/20001/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp#newcode615 third_party/WebKit/Source/core/loader/resource/ImageResource.cpp:615: bool is_multipart = !!multipart_parser_; On 2017/06/20 21:22:53, chrishtr wrote: ...
3 years, 6 months ago (2017-06-21 02:13:45 UTC) #12
chrishtr
lgtm
3 years, 6 months ago (2017-06-21 15:13:57 UTC) #15
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/2939243002/40001
3 years, 6 months ago (2017-06-21 15:48:30 UTC) #18
commit-bot: I haz the power
3 years, 6 months ago (2017-06-21 15:54:26 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/54b956cfa0755b0e4777d1e422e3...

Powered by Google App Engine
This is Rietveld 408576698