Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Issue 940493002: Fix (attempt) for crbug.com/459115. (Closed)

Created:
5 years, 10 months ago by marja
Modified:
5 years, 10 months ago
Reviewers:
Charlie Reis, Mike West
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/b5fe7ad39469790b5b49271add893c9613c0ce66 Cr-Commit-Position: refs/heads/master@{#316912}

Patch Set 1 #

Total comments: 2

Patch Set 2 : commentz #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -11 lines) Patch
M content/browser/message_port_message_filter.h View 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/message_port_message_filter.cc View 2 chunks +11 lines, -0 lines 0 comments Download
M content/browser/message_port_service.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 3 chunks +18 lines, -11 lines 1 comment Download

Messages

Total messages: 13 (5 generated)
Mike West
This LGTM. Moving the IPC should be safe. I'd suggest asking creis@ to take a ...
5 years, 10 months ago (2015-02-18 14:20:56 UTC) #2
marja
creis, ptal mkswst, thx for review https://codereview.chromium.org/940493002/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/940493002/diff/1/content/browser/web_contents/web_contents_impl.cc#newcode4023 content/browser/web_contents/web_contents_impl.cc:4023: // ViewMsg_PostMessageEvent after ...
5 years, 10 months ago (2015-02-18 15:04:04 UTC) #4
Mike West
Could you also change the CL description to have a title like "Moving this IPC ...
5 years, 10 months ago (2015-02-18 15:07:59 UTC) #5
marja
On 2015/02/18 15:07:59, Mike West wrote: > Could you also change the CL description to ...
5 years, 10 months ago (2015-02-18 15:09:43 UTC) #6
Charlie Reis
Thanks, LGTM. (I don't see any issue with the thread hop, since postMessage is already ...
5 years, 10 months ago (2015-02-18 19:55:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/940493002/20001
5 years, 10 months ago (2015-02-18 20:44:00 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-18 23:09:00 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-18 23:09:46 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b5fe7ad39469790b5b49271add893c9613c0ce66
Cr-Commit-Position: refs/heads/master@{#316912}

Powered by Google App Engine
This is Rietveld 408576698