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

Issue 337053006: Oilpan: detach GeolocationController on being destroyed as a supplement. (Closed)

Created:
6 years, 6 months ago by sof
Modified:
6 years, 6 months ago
CC:
blink-reviews, mvanouwerkerk+watch_chromium.org, timvolodine
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Oilpan: detach GeolocationController on being destroyed as a supplement. If the LocalFrame supplementable signals destruction, detach from the inspector agent and clear out the GeolocationClient reference after having relayed the destruction notification. Not doing both risks the inspector agent object accessing a what's now effectively a dead object (with a dead client reference; for safety we clear that out also.) R=haraken@chromium.org BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176692

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -3 lines) Patch
M Source/modules/geolocation/GeolocationController.h View 1 chunk +2 lines, -0 lines 1 comment Download
M Source/modules/geolocation/GeolocationController.cpp View 1 chunk +15 lines, -3 lines 2 comments Download

Messages

Total messages: 12 (0 generated)
sof
Please take a look.
6 years, 6 months ago (2014-06-20 20:23:33 UTC) #1
haraken
LGTM https://codereview.chromium.org/337053006/diff/1/Source/modules/geolocation/GeolocationController.cpp File Source/modules/geolocation/GeolocationController.cpp (right): https://codereview.chromium.org/337053006/diff/1/Source/modules/geolocation/GeolocationController.cpp#newcode92 Source/modules/geolocation/GeolocationController.cpp:92: m_inspectorAgent->RemoveController(this); keishi@: I think you need to remove ...
6 years, 6 months ago (2014-06-21 02:19:53 UTC) #2
haraken
+keishi
6 years, 6 months ago (2014-06-21 02:20:09 UTC) #3
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 6 months ago (2014-06-21 12:07:28 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/337053006/1
6 years, 6 months ago (2014-06-21 12:07:35 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-06-21 13:32:41 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-21 14:13:58 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/20497)
6 years, 6 months ago (2014-06-21 14:13:59 UTC) #8
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 6 months ago (2014-06-21 20:27:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/337053006/1
6 years, 6 months ago (2014-06-21 20:27:58 UTC) #10
commit-bot: I haz the power
Change committed as 176692
6 years, 6 months ago (2014-06-21 21:04:05 UTC) #11
wibling-chromium
6 years, 6 months ago (2014-06-23 07:29:10 UTC) #12
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698