Revert "media: Use BindOnce everywhere in GMBVFP."
This reverts commit f35e389b. Reason for revert: This CL is suspicious in Android WebKit test failures: The first failure: https://ci.chromium.org/buildbot/chromium.webkit/WebKit%20Android%20%28Nexus4%29/75367 Error message: virtual/media-gpu-accelerated/external/wpt/media-source/mediasource-config-change-mp4-av-framesize.html failed unexpectedly (gpu crashed) Error log: https://logs.chromium.org/v/?s=chromium%2Fbb%2Fchromium.webkit%2FWebKit_Android__Nexus4_%2F75367%2F%2B%2Frecipes%2Fsteps%2Fwebkit_tests%2F0%2Fstdout Original change's description: > media: Use BindOnce everywhere in GMBVFP. > > Changes the use of Bind and Closure to BindOnce and OnceClosure in > GpuMemoryBufferVideoFramePool. > > It additionally introduces a trampoline in MailboxHoldersReleased so > that if the callback is called on media_thread it can skip going trough > the message loop. > Previous the callback would be bound to the media_thread loop. > > Two DCHECKs have also be added to check thread expectations. > > Change-Id: Ie704f6f6bdc4b7d9b8dd0f5ffec4675cd060d5e2 > Reviewed-on: https://chromium-review.googlesource.com/959382 > Commit-Queue: Daniele Castagna <dcastagna@chromium.org> > Reviewed-by: Dale Curtis <dalecurtis@chromium.org> > Reviewed-by: Miguel Casas <mcasas@chromium.org> > Cr-Commit-Position: refs/heads/master@{#543609} TBR=dalecurtis@chromium.org,mcasas@chromium.org,dcastagna@chromium.org Change-Id: I600ddbf046ad44d4d80bf93ea81543e29dd8d46b No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/966321Reviewed-by:Vadym Doroshenko <dvadym@chromium.org> Commit-Queue: Vadym Doroshenko <dvadym@chromium.org> Cr-Commit-Position: refs/heads/master@{#543667}
Showing
Please register or sign in to comment