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

Issue 2498673002: RenderWidget: hoist synchronous IPC out of Init methods (attempt 2). (Closed)

Created:
4 years, 1 month ago by ncarter (slow)
Modified:
4 years, 1 month ago
Reviewers:
lfg
CC:
chromium-reviews, nasko+codewatch_chromium.org, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

RenderWidget: hoist synchronous IPC (needed to allocate routing IDs) out of Init methods. [ Re-land of https://codereview.chromium.org/2483593002/ -- r431386 ] RenderWidget now requires two Init phases that are always called, and always in this order: - InitRoutingID (formerly SetRoutingID) - Init (formerly DoInit). Two distinct Init phases are needed to solve an ordering problem in RenderView. Instead of Init being parameterized on a callback to allocate a route ID, just do the IPC outside of Init, and pass the result in. BUG=627852 Committed: https://crrev.com/4df698d8d1f107c9518f68c2b53213cc6c0086fa Cr-Commit-Position: refs/heads/master@{#431627}

Patch Set 1 : [as originally landed / reverted] #

Patch Set 2 : Remove DCHECKS which rediscovered an old bug. #

Messages

Total messages: 14 (9 generated)
ncarter (slow)
lfg: this is a re-land with the DCHECKs removed. I'll hoist the routing id to ...
4 years, 1 month ago (2016-11-11 18:40:33 UTC) #7
lfg
lgtm
4 years, 1 month ago (2016-11-11 19:04:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2498673002/20001
4 years, 1 month ago (2016-11-11 19:50:12 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-11 20:39:54 UTC) #12
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 21:00:24 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4df698d8d1f107c9518f68c2b53213cc6c0086fa
Cr-Commit-Position: refs/heads/master@{#431627}

Powered by Google App Engine
This is Rietveld 408576698