DescriptionRun Oilpan GC in blink_platform_unittests.
This fixes the issue that caused this revert:
https://codereview.chromium.org/1450953002/
Essentially, this becomes the first platform unit test to have a heap-allocated
mock, which we have to clean up after. This is similar to the logic in
RunAllTests.cpp for webkit_unit_tests and heap_unittests.
OriginAccessEntryTest is adjusted to restore the old platform so that it doesn't
break subsequent tests (or in this case, the heap's attempt to clean itself up).
Currently it nulls out the platform in many of its tests, and this causes code
in the heap that attempts to record a histogram to crash. I've copied how
PlatformTestingSupport does platform init/restore.
Committed: https://crrev.com/dd85fe85c3986fd3cf647d27e23a10244126c212
Cr-Commit-Position: refs/heads/master@{#360126}
Patch Set 1 #Patch Set 2 : technically, base/bind.h and base/bind_helpers.h are the right headers to include (rather than call… #
Total comments: 2
Patch Set 3 : move registerTraceDOMWrappers call #
Messages
Total messages: 11 (4 generated)
|