Revert of Fix a crash that MediaPlayerAndroid weak_ptr is incorrectly used...
Revert of Fix a crash that MediaPlayerAndroid weak_ptr is incorrectly used across thread (patchset #1 id:1 of https://codereview.chromium.org/899473002/) Reason for revert: this CL doesn't fix the original issue Original issue's description: > Fix a crash that MediaPlayerAndroid weak_ptr is incorrectly used across thread > > For MediaPlayerListener, the callbacks can happen on a non-UI thread. > Weak_ptr is not thread safe, so we shouldn't bind the weak_ptr in those callbacks. > This change creates a threadsafe proxy class to bridge all the callbacks. > > BUG=453581, 447368, 447367 > > Committed: https://crrev.com/2e9885788692f69203a98fb42347428ef553d640 > Cr-Commit-Position: refs/heads/master@{#314241} TBR=xhwang@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=453581, 447368, 447367 Review URL: https://codereview.chromium.org/879273006 Cr-Commit-Position: refs/heads/master@{#315352}
Showing
Please register or sign in to comment