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

Issue 1879133002: Make ImageDecodeBench build once again (Closed)

Created:
4 years, 8 months ago by scroggo_chromium
Modified:
4 years, 7 months ago
Reviewers:
Noel Gordon, ccameron
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 once again Use size_t instead of position for SharedBuffer::getSomeData. Inherit from blink::Platform instead of TestingPlatformSupport. Remove missing function from ImageDecoder. Instead, decode once before the loop to do any initialization. Call base::CommandLine::Init Remove unnecessary windows error. BUG=601198

Patch Set 1 #

Total comments: 17

Patch Set 2 : Rebase preemptively #

Patch Set 3 : Respond to comments #

Patch Set 4 : Remove TestingPlatformSupport changes, no longer needed #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -11 lines) Patch
M third_party/WebKit/Source/web/ImageDecodeBench.cpp View 1 2 6 chunks +11 lines, -11 lines 3 comments Download

Messages

Total messages: 16 (3 generated)
scroggo_chromium
Noel, I'll defer to you on how to handle qcmsOutputDeviceProfile(). This builds, but I have ...
4 years, 8 months ago (2016-04-12 19:34:34 UTC) #2
Noel Gordon
On 2016/04/12 19:34:34, scroggo_chromium wrote: > Noel, I'll defer to you on how to handle ...
4 years, 8 months ago (2016-04-21 06:14:53 UTC) #3
Noel Gordon
4 years, 8 months ago (2016-04-21 06:15:10 UTC) #5
ccameron
https://codereview.chromium.org/1879133002/diff/1/third_party/WebKit/Source/web/ImageDecodeBench.cpp File third_party/WebKit/Source/web/ImageDecodeBench.cpp (right): https://codereview.chromium.org/1879133002/diff/1/third_party/WebKit/Source/web/ImageDecodeBench.cpp#newcode371 third_party/WebKit/Source/web/ImageDecodeBench.cpp:371: // FIXME: This method has been removed, but it ...
4 years, 8 months ago (2016-04-21 07:30:42 UTC) #6
Noel Gordon
On 2016/04/21 07:30:42, ccameron wrote: > https://codereview.chromium.org/1879133002/diff/1/third_party/WebKit/Source/web/ImageDecodeBench.cpp > File third_party/WebKit/Source/web/ImageDecodeBench.cpp (right): > > https://codereview.chromium.org/1879133002/diff/1/third_party/WebKit/Source/web/ImageDecodeBench.cpp#newcode371 > ...
4 years, 8 months ago (2016-04-26 13:56:43 UTC) #7
Noel Gordon
Leon@ I patched this in and found a few issues compiling and running on Mac ...
4 years, 8 months ago (2016-04-26 14:09:59 UTC) #8
Noel Gordon
On 2016/04/26 14:09:59, noel gordon wrote: > Leon@ I patched this in and found a ...
4 years, 7 months ago (2016-04-27 04:29:32 UTC) #9
scroggo_chromium
https://codereview.chromium.org/1879133002/diff/1/third_party/WebKit/Source/web/ImageDecodeBench.cpp File third_party/WebKit/Source/web/ImageDecodeBench.cpp (right): https://codereview.chromium.org/1879133002/diff/1/third_party/WebKit/Source/web/ImageDecodeBench.cpp#newcode30 third_party/WebKit/Source/web/ImageDecodeBench.cpp:30: #error Fix: WIN32_LEAN_AND_MEAN disables timeBeginPeriod/TimeEndPeriod. On 2016/04/26 14:09:59, noel ...
4 years, 7 months ago (2016-04-29 13:44:31 UTC) #11
Noel Gordon
https://codereview.chromium.org/1879133002/diff/1/third_party/WebKit/Source/web/ImageDecodeBench.cpp File third_party/WebKit/Source/web/ImageDecodeBench.cpp (right): https://codereview.chromium.org/1879133002/diff/1/third_party/WebKit/Source/web/ImageDecodeBench.cpp#newcode30 third_party/WebKit/Source/web/ImageDecodeBench.cpp:30: #error Fix: WIN32_LEAN_AND_MEAN disables timeBeginPeriod/TimeEndPeriod. On 2016/04/29 13:44:30, scroggo_chromium ...
4 years, 7 months ago (2016-05-02 12:31:10 UTC) #12
Noel Gordon
https://codereview.chromium.org/1879133002/diff/60001/third_party/WebKit/Source/web/ImageDecodeBench.cpp File third_party/WebKit/Source/web/ImageDecodeBench.cpp (left): https://codereview.chromium.org/1879133002/diff/60001/third_party/WebKit/Source/web/ImageDecodeBench.cpp#oldcode31 third_party/WebKit/Source/web/ImageDecodeBench.cpp:31: #endif Yeap, that looks good. https://codereview.chromium.org/1879133002/diff/60001/third_party/WebKit/Source/web/ImageDecodeBench.cpp#oldcode288 third_party/WebKit/Source/web/ImageDecodeBench.cpp:288: length = ...
4 years, 7 months ago (2016-05-02 12:34:55 UTC) #13
Noel Gordon
On 2016/05/02 12:34:55, noel gordon wrote: > https://codereview.chromium.org/1879133002/diff/60001/third_party/WebKit/Source/web/ImageDecodeBench.cpp#newcode307 > third_party/WebKit/Source/web/ImageDecodeBench.cpp:307: > base::CommandLine::Init(argc, argv); > As ...
4 years, 7 months ago (2016-05-04 03:46:21 UTC) #14
Noel Gordon
On 2016/05/04 03:46:21, noel gordon wrote: > Seems like one option might be to move ...
4 years, 7 months ago (2016-05-05 09:44:07 UTC) #15
scroggo_chromium
4 years, 7 months ago (2016-05-05 16:23:08 UTC) #16
On 2016/05/05 09:44:07, noel gordon wrote:
> On 2016/05/04 03:46:21, noel gordon wrote:
> 
> > Seems like one option might be to move ImageDecodeBench into one of the
> platform
> > gyp (gn) files, where call src/base is permitted.  blink_platform.gyp and
> > blink_platform_tests.gyp are possible candidates.
> 
> on try blink_platform_tests.gyp:
> 
>   https://codereview.chromium.org/1954673002
> 
> and that compiles for me on win, no crash at start-up.  Will that work for
you?

Yep. That works for me. Thanks! Closing this one.

Powered by Google App Engine
This is Rietveld 408576698