Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a data race in WebMessagePortChannelImpl.
It's unsafe to pass a WebString (which is logically a RefPtr<StringImpl>) across threads because the underlying object is not thread-safe ref-counted. Instead, the base::string16 that the receiving method accepts should be constructed before posting the task. BUG=635659 Review-Url: https://codereview.chromium.org/2224393002 Cr-Commit-Position: refs/heads/master@{#410761}
- Loading branch information