Oilpan: allow StoppingOtherThreads GC state transition.

If collectGarbage() fails to park all threads, the GCState is
reset from StoppingOtherThreads back to its previous state.

If collectAllGarbage() is what brings about that GC, then
collectGarbage()'s incoming GCState will either be GCScheduledForTesting
or NoGCScheduled. setGCState()'s asserts lacked permission for
a StoppingOtherThreads => NoGCScheduled transition.

R=haraken
BUG=420515

Review URL: https://codereview.chromium.org/916373002

git-svn-id: svn://svn.chromium.org/blink/trunk@190033 bbb929c8-8fbe-4397-9dbb-9b2b20218538
1 file changed
tree: eca7820a91837fec80176c0f7bb1b48fbaf7f391
  1. third_party/