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

Issue 11316209: RenderViewImpl::FromRoutingID: Use a global Routing ID map to lookup RenderViews (Closed)

Created:
8 years ago by Matt Giuca
Modified:
8 years ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

RenderViewImpl::FromRoutingID: Use a global Routing ID map to lookup RenderViews from Routing IDs, instead of using ChildThread::ResolveRoute. This avoids a potentially unsafe downcast from IPC::Listener* to RenderViewImpl*, if the given routing_id does not correspond to a RenderView. BUG=163008 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170708

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -3 lines) Patch
M content/renderer/render_view_impl.cc View 5 chunks +13 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Matt Giuca
This CL should harden FromRoutingID with a view to exposing it as a public API ...
8 years ago (2012-11-28 01:53:33 UTC) #1
Charlie Reis
Thanks! LGTM, but please run try jobs to be sure it doesn't affect any tests.
8 years ago (2012-11-28 18:09:15 UTC) #2
Matt Giuca
On 2012/11/28 18:09:15, creis wrote: > Thanks! LGTM, but please run try jobs to be ...
8 years ago (2012-11-28 23:15:21 UTC) #3
Charlie Reis
On 2012/11/28 23:15:21, Matt Giuca wrote: > On 2012/11/28 18:09:15, creis wrote: > > Thanks! ...
8 years ago (2012-11-28 23:37:57 UTC) #4
Matt Giuca
I'm having a lot of trouble with linux_rel on the tryserver. It timed out after ...
8 years ago (2012-12-03 03:36:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/11316209/1
8 years ago (2012-12-03 04:13:22 UTC) #6
commit-bot: I haz the power
8 years ago (2012-12-03 06:48:23 UTC) #7
Message was sent while issue was closed.
Change committed as 170708

Powered by Google App Engine
This is Rietveld 408576698