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

Issue 1954673002: Make ImageDecodeBench build again (Closed)

Created:
4 years, 7 months ago by Noel Gordon
Modified:
4 years, 7 months ago
CC:
chromium-reviews, blink-reviews, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make ImageDecodeBench build again Remove unnecessary windows #error re LEAN_AND_MEAN, including <mmsystem.h> is enough. Use size_t instead of position for SharedBuffer::getSomeData. Call base::CommandLine::Init() to avoid a SEGFAULT at start-up when Platform heap initializes and trys to read CommmandLine. Inherit from blink::Platform, not TestingPlatformSupport. Remove missing function from ImageDecoder. Instead, decode once before the bench loop to initialize Platform statics. Build: move the gyp into blink_platform_tests.gyp and the .cpp to platform/testing to allow the call to base::CommandLine per the rules in platform/testing/DEPS. This patch is based on previous patch by scroggo@chromium.org, refer to https://codereview.chromium.org/1879133002 TBR=jochen@chromium.org BUG=601198 Committed: https://crrev.com/cab42628d6fe53b18f9d119d3999746c79b33ba5 Cr-Commit-Position: refs/heads/master@{#391831}

Patch Set 1 #

Patch Set 2 : Fix linux_chromium_rel_ng nit. #1 #

Patch Set 3 : Fix linux_chromium_rel_ng nit. #2 #

Total comments: 1

Patch Set 4 : Move ImageDecodeBench.cpp to platform/testing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -444 lines) Patch
M third_party/WebKit/Source/platform/blink_platform_tests.gyp View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/platform/testing/ImageDecodeBench.cpp View 1 2 3 8 chunks +18 lines, -21 lines 0 comments Download
D third_party/WebKit/Source/web/ImageDecodeBench.cpp View 1 chunk +0 lines, -405 lines 0 comments Download
M third_party/WebKit/Source/web/web.gyp View 1 chunk +0 lines, -18 lines 0 comments Download

Messages

Total messages: 34 (16 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954673002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954673002/1
4 years, 7 months ago (2016-05-05 09:16:17 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/178071)
4 years, 7 months ago (2016-05-05 09:22:08 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954673002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954673002/20001
4 years, 7 months ago (2016-05-05 11:29:22 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/178083)
4 years, 7 months ago (2016-05-05 11:35:23 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954673002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954673002/40001
4 years, 7 months ago (2016-05-05 12:25:15 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954673002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954673002/60001
4 years, 7 months ago (2016-05-05 12:53:04 UTC) #12
commit-bot: I haz the power
Dry run: 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/65517) win8_chromium_ng on ...
4 years, 7 months ago (2016-05-05 12:57:21 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954673002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954673002/80001
4 years, 7 months ago (2016-05-05 13:01:00 UTC) #16
Noel Gordon
https://codereview.chromium.org/1954673002/diff/40001/third_party/WebKit/Source/platform/image-decoders/ImageDecodeBench.cpp File third_party/WebKit/Source/platform/image-decoders/ImageDecodeBench.cpp (right): https://codereview.chromium.org/1954673002/diff/40001/third_party/WebKit/Source/platform/image-decoders/ImageDecodeBench.cpp#newcode25 third_party/WebKit/Source/platform/image-decoders/ImageDecodeBench.cpp:25: #include <base/command_line.h> Using <base/command_line.h> defeats the DEPS check: there ...
4 years, 7 months ago (2016-05-05 13:25:55 UTC) #17
Noel Gordon
On 2016/05/05 13:25:55, noel gordon wrote: > That's not really in the spirit of things, ...
4 years, 7 months ago (2016-05-05 13:27:30 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-05 13:56:28 UTC) #22
Noel Gordon
On 2016/05/05 13:56:28, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 7 months ago (2016-05-05 14:14:16 UTC) #23
Noel Gordon
4 years, 7 months ago (2016-05-05 14:14:55 UTC) #25
scroggo_chromium
lgtm
4 years, 7 months ago (2016-05-05 16:22:40 UTC) #26
Noel Gordon
Thanks for helping with this Leon, attribution added to the change description. Pretty sure jochen@ ...
4 years, 7 months ago (2016-05-05 16:55:13 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954673002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954673002/80001
4 years, 7 months ago (2016-05-05 16:55:46 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 7 months ago (2016-05-05 16:59:59 UTC) #32
commit-bot: I haz the power
4 years, 7 months ago (2016-05-05 17:01:22 UTC) #34
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cab42628d6fe53b18f9d119d3999746c79b33ba5
Cr-Commit-Position: refs/heads/master@{#391831}

Powered by Google App Engine
This is Rietveld 408576698