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

Issue 2496633004: Revert of RenderWidget: hoist synchronous IPC out of Init methods. (Closed)

Created:
4 years, 1 month ago by Dirk Pranke
Modified:
4 years, 1 month ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of RenderWidget: hoist synchronous IPC out of Init methods. (patchset #7 id:120001 of https://codereview.chromium.org/2483593002/ ) Reason for revert: Well, this is dcheck'ing all over the place, congrats :). Any number of builders are failing as a result, so I'm reverting this. See https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.11%20%28dbg%29/builds/5832 for the main waterfall builder's failures. Original issue's description: > RenderWidget: hoist synchronous IPC (needed to allocate routing IDs) out of Init methods. > > 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/ab31e24367180e818edd6065f8b43277d99e6944 > Cr-Commit-Position: refs/heads/master@{#431386} TBR=jcivelli@chromium.org,lfg@chromium.org,nick@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=627852 Committed: https://crrev.com/7e80889b2b60079c4ddc70d5c527110057a16753 Cr-Commit-Position: refs/heads/master@{#431411}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -71 lines) Patch
M content/renderer/render_view_impl.cc View 2 chunks +7 lines, -8 lines 0 comments Download
M content/renderer/render_widget.h View 6 chunks +16 lines, -12 lines 0 comments Download
M content/renderer/render_widget.cc View 5 chunks +64 lines, -40 lines 0 comments Download
M content/renderer/render_widget_fullscreen.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_widget_fullscreen.cc View 1 chunk +18 lines, -9 lines 0 comments Download
M content/renderer/render_widget_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Dirk Pranke
Created Revert of RenderWidget: hoist synchronous IPC out of Init methods.
4 years, 1 month ago (2016-11-11 00:30:10 UTC) #2
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/2496633004/1
4 years, 1 month ago (2016-11-11 00:30:41 UTC) #3
commit-bot: I haz the power
Failed to apply patch for content/renderer/render_view_impl.cc: While running git apply --index -3 -p1; error: patch ...
4 years, 1 month ago (2016-11-11 00:32:56 UTC) #5
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 00:35:12 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7e80889b2b60079c4ddc70d5c527110057a16753
Cr-Commit-Position: refs/heads/master@{#431411}

Powered by Google App Engine
This is Rietveld 408576698