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

Issue 2048003002: Remove DeferredImageDecoder::setEnabled and ImageDecoder::deferredImageDecodingEnabled (Closed)

Created:
4 years, 6 months ago by hajimehoshi
Modified:
4 years, 6 months ago
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove DeferredImageDecoder::setEnabled and ImageDecoder::deferredImageDecodingEnabled DeferredImageDecoder::setEnabled is used only at BitmapImageTest and not used in non-test code. ImageDecoder::deferredImageDecodingEnabled is not called anywhere. This CL removes those functions for code health. BUG=n/a TEST=blink_platform_unittests --gtest_filter=BitmapImageTest.*:ImageDecoderTest.* ; webkit_unit_tests --gtest_filter=DeferredImageDecoderTest.* Committed: https://crrev.com/92830b03fe331909624a8e095d739f6bab9752a9 Cr-Commit-Position: refs/heads/master@{#399128}

Patch Set 1 #

Patch Set 2 : Fix a comment #

Patch Set 3 : Rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -54 lines) Patch
M third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp View 1 4 chunks +2 lines, -26 lines 2 comments Download
M third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h View 2 chunks +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp View 3 chunks +1 line, -14 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp View 1 2 2 chunks +0 lines, -6 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 27 (14 generated)
hajimehoshi
PTAL
4 years, 6 months ago (2016-06-08 10:51:49 UTC) #2
hajimehoshi
+noel
4 years, 6 months ago (2016-06-08 10:57:23 UTC) #5
chrishtr
https://codereview.chromium.org/2048003002/diff/40001/third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp File third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp (left): https://codereview.chromium.org/2048003002/diff/40001/third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp#oldcode269 third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp:269: EXPECT_EQ(frameSize * 2, lastDecodedSizeChange()); Why did this change?
4 years, 6 months ago (2016-06-08 20:02:13 UTC) #8
hajimehoshi
https://codereview.chromium.org/2048003002/diff/40001/third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp File third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp (left): https://codereview.chromium.org/2048003002/diff/40001/third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp#oldcode269 third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp:269: EXPECT_EQ(frameSize * 2, lastDecodedSizeChange()); On 2016/06/08 20:02:12, chrishtr wrote: ...
4 years, 6 months ago (2016-06-09 04:02:38 UTC) #9
chrishtr
lgtm
4 years, 6 months ago (2016-06-09 04:10:20 UTC) #10
hajimehoshi
On 2016/06/09 04:10:20, chrishtr wrote: > lgtm Thanks. +pkasting PTAL at image-decoders dir
4 years, 6 months ago (2016-06-09 05:03:34 UTC) #14
Peter Kasting
LGTM
4 years, 6 months ago (2016-06-10 00:16:57 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2048003002/40001
4 years, 6 months ago (2016-06-10 03:25:28 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/85624)
4 years, 6 months ago (2016-06-10 04:27:49 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2048003002/40001
4 years, 6 months ago (2016-06-10 05:06:52 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-10 06:56:37 UTC) #24
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-10 06:56:39 UTC) #25
commit-bot: I haz the power
4 years, 6 months ago (2016-06-10 06:59:21 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/92830b03fe331909624a8e095d739f6bab9752a9
Cr-Commit-Position: refs/heads/master@{#399128}

Powered by Google App Engine
This is Rietveld 408576698