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

Issue 25976002: Remove ImageSource::bytesDecodedToDetermineProperties() and fallout (Closed)

Created:
7 years, 2 months ago by davve
Modified:
7 years, 2 months ago
CC:
blink-reviews, jamesr, dsinclair, danakj, Rik, Stephen Chennney, pdr.
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Remove ImageSource::bytesDecodedToDetermineProperties() and fallout Since the WebKit split, it always returns zero. Removing it enables us also to remove the not always up-to-date m_decodedSize and avoid a quite common assertion failure on GIF animations. No functional changes expected. BUG=288879 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159433

Patch Set 1 #

Patch Set 2 : Remove lingering decodedSize() implementations #

Patch Set 3 : Rebased to latest master #

Patch Set 4 : Adjust BitmapImageTest with own decodedSize() implementation #

Total comments: 2

Patch Set 5 : For landing #

Patch Set 6 : For landing again, rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -81 lines) Patch
M Source/core/platform/graphics/BitmapImage.h View 3 chunks +0 lines, -10 lines 0 comments Download
M Source/core/platform/graphics/BitmapImage.cpp View 1 2 3 4 10 chunks +0 lines, -44 lines 0 comments Download
M Source/core/platform/graphics/BitmapImageTest.cpp View 1 2 3 4 4 chunks +21 lines, -6 lines 0 comments Download
M Source/core/platform/graphics/FrameData.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/platform/graphics/GeneratedImage.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/platform/graphics/Image.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/platform/graphics/ImageSource.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/platform/graphics/ImageSource.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/svg/graphics/SVGImage.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/svg/graphics/SVGImageForContainer.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M Source/web/tests/DragImageTest.cpp View 1 1 chunk +0 lines, -5 lines 0 comments Download
M Source/web/tests/ImageLayerChromiumTest.cpp View 1 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
davve
7 years, 2 months ago (2013-10-04 09:07:41 UTC) #1
slavi
On 2013/10/04 09:07:41, davve wrote: +pkasting, hclam Looks good to me but @pkasting and @hclam ...
7 years, 2 months ago (2013-10-04 21:35:16 UTC) #2
Alpha Left Google
pkasting was in the discussion, he can better review this than i do.
7 years, 2 months ago (2013-10-04 21:37:08 UTC) #3
Peter Kasting
LGTM
7 years, 2 months ago (2013-10-04 22:04:14 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davve@opera.com/25976002/1
7 years, 2 months ago (2013-10-05 06:42:15 UTC) #5
davve
Could someone help me land this, please? (I'm not a committer and a bit unsure ...
7 years, 2 months ago (2013-10-05 06:45:09 UTC) #6
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 2 months ago (2013-10-05 07:05:24 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davve@opera.com/25976002/20001
7 years, 2 months ago (2013-10-05 07:35:19 UTC) #8
slavi
On 2013/10/05 06:45:09, davve wrote: > Could someone help me land this, please? (I'm not ...
7 years, 2 months ago (2013-10-07 17:17:13 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davve@opera.com/25976002/25001
7 years, 2 months ago (2013-10-07 19:54:51 UTC) #10
davve
On 2013/10/07 17:17:13, slavi wrote: > On 2013/10/05 06:45:09, davve wrote: > > Could someone ...
7 years, 2 months ago (2013-10-07 19:55:56 UTC) #11
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=8268
7 years, 2 months ago (2013-10-07 20:11:59 UTC) #12
davve
'presubmit' failed because I'm missing review on my updates in patch set #2.
7 years, 2 months ago (2013-10-08 04:36:54 UTC) #13
slavi
On 2013/10/08 04:36:54, davve wrote: > 'presubmit' failed because I'm missing review on my updates ...
7 years, 2 months ago (2013-10-08 17:30:58 UTC) #14
slavi
+jamesr for real
7 years, 2 months ago (2013-10-08 17:31:23 UTC) #15
jamesr
lgtm
7 years, 2 months ago (2013-10-08 20:44:05 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davve@opera.com/25976002/25001
7 years, 2 months ago (2013-10-08 21:44:05 UTC) #17
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 2 months ago (2013-10-08 22:25:12 UTC) #18
davve
Gulp, not sure how but I missed the one obvious test: Source/core/platform/graphics/BitmapImageTest.cpp. It seems to ...
7 years, 2 months ago (2013-10-09 06:54:36 UTC) #19
davve
On 2013/10/09 06:54:36, davve wrote: > Do you prefer if I put back an implementation ...
7 years, 2 months ago (2013-10-09 11:12:56 UTC) #20
Peter Kasting
LGTM https://codereview.chromium.org/25976002/diff/54001/Source/core/platform/graphics/BitmapImageTest.cpp File Source/core/platform/graphics/BitmapImageTest.cpp (right): https://codereview.chromium.org/25976002/diff/54001/Source/core/platform/graphics/BitmapImageTest.cpp#newcode90 Source/core/platform/graphics/BitmapImageTest.cpp:90: // In the context of this test, the ...
7 years, 2 months ago (2013-10-10 18:53:40 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davve@opera.com/25976002/63001
7 years, 2 months ago (2013-10-10 19:31:52 UTC) #22
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=7616
7 years, 2 months ago (2013-10-10 19:58:22 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davve@opera.com/25976002/46001
7 years, 2 months ago (2013-10-11 06:44:08 UTC) #24
commit-bot: I haz the power
7 years, 2 months ago (2013-10-11 08:50:18 UTC) #25
Message was sent while issue was closed.
Change committed as 159433

Powered by Google App Engine
This is Rietveld 408576698