Fix: Don't access MessagePortService in the UI thread.
commitb5fe7ad39469790b5b49271add893c9613c0ce66
authormarja <marja@chromium.org>
Wed, 18 Feb 2015 23:08:46 +0000 (18 15:08 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 18 Feb 2015 23:09:28 +0000 (18 23:09 +0000)
treed4949181131ffa700f0c618b5febbe420ebb8888
parentbb14af2c3dfc1822600ee8566b8ca3b564ee2823
Fix: Don't access MessagePortService in the UI thread.

WebContentsImpl::RouteMessageEvent is called in the UI thread, and it called
MessagePortService::UpdateMessagePort which assumed to be called in the IO
thread. Oops.

BUG=459115

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

Cr-Commit-Position: refs/heads/master@{#316912}
content/browser/message_port_message_filter.cc
content/browser/message_port_message_filter.h
content/browser/message_port_service.cc
content/browser/web_contents/web_contents_impl.cc