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

Issue 10644008: Make SendGeolocationPermissionResponse execute on UI thread. (Closed)

Created:
8 years, 6 months ago by John Knottenbelt
Modified:
8 years, 6 months ago
Reviewers:
bulach, joth
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org, joth
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Make SendGeolocationPermissionResponse execute on UI thread. SendGeolocationPermissionResponse can be called on the IO thread from GeolocationDispatcherHostImpl::OnRequestPermission if there is no geolocation_permission_context_ (as is the case with content shell). But, SendGeolocationPermissionResponse calls RenderViewHostImpl::FromID which must be called on the UI thread, so we need to ensure that SendGeolocationPermissionResponse is called on the UI thread too. BUG=134116 TEST=Geolocation Browser Tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=143882

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M content/browser/geolocation/geolocation_dispatcher_host.cc View 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
John Knottenbelt
8 years, 6 months ago (2012-06-22 12:38:40 UTC) #1
John Knottenbelt
8 years, 6 months ago (2012-06-22 12:55:48 UTC) #2
bulach
lgtm, thanks!
8 years, 6 months ago (2012-06-22 13:15:27 UTC) #3
joth
lgtm
8 years, 6 months ago (2012-06-22 15:40:56 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jknotten@chromium.org/10644008/1
8 years, 6 months ago (2012-06-25 06:48:42 UTC) #5
commit-bot: I haz the power
8 years, 6 months ago (2012-06-25 08:49:34 UTC) #6
Change committed as 143882

Powered by Google App Engine
This is Rietveld 408576698