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

Issue 335573004: Oilpan: Notify supplements of Page and LocalFrame destruction. (Closed)

Created:
6 years, 6 months ago by zerny-chromium
Modified:
6 years, 6 months ago
CC:
blink-reviews, mvanouwerkerk+watch_chromium.org, timvolodine, oilpan-reviews
Project:
blink
Visibility:
Public.

Description

Oilpan: Notify LocalFrame supplements of destruction. This fixes the flaky crash in screen_orientation/page-visibility.html The willBeDestroyed callback of GeolocationController has not been called in either build since r175404. In addition LocalFrame supplements receive an explicit callback when the LocalHost is torn down in order to perform coordinated cleanup. This callback can be removed again once LocalFrame is moved to the heap and it again dies together with its supplements. R=ager@chromium.org, tkent@chromium.org BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176102

Patch Set 1 #

Total comments: 2

Patch Set 2 : moved willBeDestroyed #

Patch Set 3 : rebase and null check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -3 lines) Patch
M Source/modules/geolocation/GeolocationController.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M Source/modules/geolocation/GeolocationController.cpp View 1 1 chunk +7 lines, -0 lines 0 comments Download
M Source/modules/screen_orientation/ScreenOrientationController.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/modules/screen_orientation/ScreenOrientationController.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/platform/Supplementable.h View 3 chunks +11 lines, -2 lines 0 comments Download
M Source/web/WebLocalFrameImpl.cpp View 1 2 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
zerny-chromium
6 years, 6 months ago (2014-06-12 11:33:16 UTC) #1
Mads Ager (chromium)
LGTM We should continue the investigation of what it will take to get LocalFrame on ...
6 years, 6 months ago (2014-06-12 11:55:33 UTC) #2
Michael van Ouwerkerk
Just a drive-by nit. https://codereview.chromium.org/335573004/diff/1/Source/modules/geolocation/GeolocationController.h File Source/modules/geolocation/GeolocationController.h (right): https://codereview.chromium.org/335573004/diff/1/Source/modules/geolocation/GeolocationController.h#newcode75 Source/modules/geolocation/GeolocationController.h:75: virtual void persistentHostHasBeenDestroyed() OVERRIDE; Nit: ...
6 years, 6 months ago (2014-06-12 12:32:35 UTC) #3
tkent
lgtm
6 years, 6 months ago (2014-06-12 12:53:13 UTC) #4
haraken
The willBeDestroyed() change looks reasonable, but the persistentHostHasBeenDestroyed() change looks hacky. Would it be possible ...
6 years, 6 months ago (2014-06-12 13:16:16 UTC) #5
zerny-chromium
On 2014/06/12 13:16:16, haraken wrote: > The willBeDestroyed() change looks reasonable, but the > persistentHostHasBeenDestroyed() ...
6 years, 6 months ago (2014-06-12 13:39:16 UTC) #6
zerny-chromium
https://codereview.chromium.org/335573004/diff/1/Source/modules/geolocation/GeolocationController.h File Source/modules/geolocation/GeolocationController.h (right): https://codereview.chromium.org/335573004/diff/1/Source/modules/geolocation/GeolocationController.h#newcode75 Source/modules/geolocation/GeolocationController.h:75: virtual void persistentHostHasBeenDestroyed() OVERRIDE; On 2014/06/12 12:32:34, Michael van ...
6 years, 6 months ago (2014-06-12 13:39:25 UTC) #7
haraken
On 2014/06/12 13:39:16, zerny-chromium wrote: > On 2014/06/12 13:16:16, haraken wrote: > > The willBeDestroyed() ...
6 years, 6 months ago (2014-06-12 13:47:49 UTC) #8
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 6 months ago (2014-06-12 14:02:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/335573004/20001
6 years, 6 months ago (2014-06-12 14:02:59 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 6 months ago (2014-06-12 15:01:10 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-12 15:01:31 UTC) #12
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/16555)
6 years, 6 months ago (2014-06-12 15:01:32 UTC) #13
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 6 months ago (2014-06-12 23:40:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/335573004/20001
6 years, 6 months ago (2014-06-12 23:40:44 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 6 months ago (2014-06-13 00:03:36 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-13 00:14:46 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/11817)
6 years, 6 months ago (2014-06-13 00:14:47 UTC) #18
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 6 months ago (2014-06-13 08:13:49 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/335573004/40001
6 years, 6 months ago (2014-06-13 08:14:42 UTC) #20
commit-bot: I haz the power
6 years, 6 months ago (2014-06-13 09:23:58 UTC) #21
Message was sent while issue was closed.
Change committed as 176102

Powered by Google App Engine
This is Rietveld 408576698