Chromium Code Reviews
DescriptionFix 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
Committed: https://crrev.com/414c42a0b400f213b58314c1b26926f9b897ac8a
Cr-Commit-Position: refs/heads/master@{#410761}
Patch Set 1 #
Messages
Total messages: 12 (6 generated)
|
|||||||||||||||||||