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

Issue 1438043011: Move ScrollAnimatorTest.cpp to Source/platform/scroll/. (Closed)

Created:
5 years, 1 month ago by jbroman
Modified:
5 years, 1 month ago
Reviewers:
Mike West, skobes
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, chromium-reviews, Eric Willigers, rjwright, shans
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move ScrollAnimatorTest.cpp to Source/platform/scroll/. Some classes in these files were moved into anonymous namespaces, because otherwise they generated ODR violations by being linked into the same test binary. (And this manifested as a crash, rather than a compile failure!) BUG=353585 Committed: https://crrev.com/0a6e1d78456bfaf594c236123081e5f3d457ed9c Cr-Commit-Position: refs/heads/master@{#359850}

Patch Set 1 #

Patch Set 2 : provide zero for all WTF platform time functions #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -1109 lines) Patch
M third_party/WebKit/Source/platform/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 chunk +7 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp View 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableAreaTest.cpp View 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/RunAllTests.cpp View 1 1 chunk +1 line, -1 line 2 comments Download
M third_party/WebKit/Source/web/BUILD.gn View 1 chunk +0 lines, -3 lines 0 comments Download
D third_party/WebKit/Source/web/tests/ScrollAnimatorTest.cpp View 1 chunk +0 lines, -1095 lines 0 comments Download
M third_party/WebKit/Source/web/web.gypi View 1 chunk +0 lines, -10 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
jbroman
This test should be next to the file it tests, in Source/platform/scroll/. I had to ...
5 years, 1 month ago (2015-11-13 23:57:32 UTC) #2
skobes
lgtm https://codereview.chromium.org/1438043011/diff/20001/third_party/WebKit/Source/platform/testing/RunAllTests.cpp File third_party/WebKit/Source/platform/testing/RunAllTests.cpp (right): https://codereview.chromium.org/1438043011/diff/20001/third_party/WebKit/Source/platform/testing/RunAllTests.cpp#newcode56 third_party/WebKit/Source/platform/testing/RunAllTests.cpp:56: WTF::initialize(CurrentTime, CurrentTime, CurrentTime, nullptr, nullptr); Hmm, this kind ...
5 years, 1 month ago (2015-11-14 00:10:32 UTC) #3
jbroman
https://codereview.chromium.org/1438043011/diff/20001/third_party/WebKit/Source/platform/testing/RunAllTests.cpp File third_party/WebKit/Source/platform/testing/RunAllTests.cpp (right): https://codereview.chromium.org/1438043011/diff/20001/third_party/WebKit/Source/platform/testing/RunAllTests.cpp#newcode56 third_party/WebKit/Source/platform/testing/RunAllTests.cpp:56: WTF::initialize(CurrentTime, CurrentTime, CurrentTime, nullptr, nullptr); On 2015/11/14 at 00:10:32, ...
5 years, 1 month ago (2015-11-14 00:14:58 UTC) #4
skobes
On 2015/11/14 00:14:58, jbroman wrote: > Does it any more so than for the other ...
5 years, 1 month ago (2015-11-14 00:19:44 UTC) #5
Mike West
I don't think you need my LGTM, but LGTM just in case. :)
5 years, 1 month ago (2015-11-16 10:40:11 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1438043011/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1438043011/20001
5 years, 1 month ago (2015-11-16 15:21:10 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-16 16:20:40 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/0a6e1d78456bfaf594c236123081e5f3d457ed9c Cr-Commit-Position: refs/heads/master@{#359850}
5 years, 1 month ago (2015-11-16 16:21:29 UTC) #10
jbroman
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1450953002/ by jbroman@chromium.org. ...
5 years, 1 month ago (2015-11-16 17:47:03 UTC) #11
skobes
On 2015/11/16 17:47:03, jbroman wrote: > A revert of this CL (patchset #2 id:20001) has ...
5 years, 1 month ago (2015-11-16 18:28:13 UTC) #12
jbroman
5 years, 1 month ago (2015-11-16 18:38:18 UTC) #13
Message was sent while issue was closed.
On 2015/11/16 at 18:28:13, skobes wrote:
> On 2015/11/16 17:47:03, jbroman wrote:
> > A revert of this CL (patchset #2 id:20001) has been created in
> > https://codereview.chromium.org/1450953002/ by mailto:jbroman@chromium.org.
> > 
> > The reason for reverting is: Fails on Oilpan (leaked mock object). Suspect
an
> > explicit GC is required.
> 
> FYI it might be easier to wait for http://crrev.com/1444663002 before
relanding.  I verified that it passes with Oilpan enabled.

I think that's orthogonal. The reason this was reverted is that
blink_platform_unittests doesn't clean up the Oilpan heap.

Powered by Google App Engine
This is Rietveld 408576698