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

Issue 2142753002: Remove LocalFrameLifecycleObserver::willDetachFrameHost() (Closed)

Created:
4 years, 5 months ago by haraken
Modified:
4 years, 5 months ago
Reviewers:
dcheng
CC:
chromium-reviews, blink-reviews, haraken, mlamouri+watch-blink_chromium.org, mlamouri+watch-screen-orientation_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove LocalFrameLifecycleObserver::willDetachFrameHost() willDetachFrameHost() is dispatched at almost the same timing as contextDestroyed(). Hence this CL replaces willDetachFrameHost() with contextDestroyed(). The only exception is LocalDOMWindow::willDetachFrameHost(). It needs to be called before the frame is actually detached from the frame host, so this CL moves the contents to LocalFrame::detach(). BUG=610176 Committed: https://crrev.com/d1d739c3a4cd78b3a4aa5a8a6ebf313df2dca1e3 Cr-Commit-Position: refs/heads/master@{#404924}

Patch Set 1 #

Patch Set 2 : temp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -72 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp View 2 chunks +0 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 2 chunks +15 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrameLifecycleNotifier.h View 1 chunk +0 lines, -2 lines 0 comments Download
D third_party/WebKit/Source/core/frame/LocalFrameLifecycleNotifier.cpp View 1 chunk +0 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrameLifecycleObserver.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/installedapp/InstalledAppController.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/installedapp/InstalledAppController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/permissions/PermissionController.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/permissions/PermissionController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationController.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vr/VRController.h View 3 chunks +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRController.cpp View 3 chunks +0 lines, -7 lines 0 comments Download

Messages

Total messages: 30 (14 generated)
haraken
PTAL I was thinking that willDetachFrameHost() is not called at every Frame::detach, but it looks ...
4 years, 5 months ago (2016-07-12 02:39:21 UTC) #2
dcheng
LGTM
4 years, 5 months ago (2016-07-12 03:11:24 UTC) #3
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/2142753002/1
4 years, 5 months ago (2016-07-12 03:45:05 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/189122)
4 years, 5 months ago (2016-07-12 04:07:58 UTC) #7
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/2142753002/1
4 years, 5 months ago (2016-07-12 04:09:23 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/190820) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 5 months ago (2016-07-12 04:41:37 UTC) #11
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/2142753002/20001
4 years, 5 months ago (2016-07-12 06:29:34 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/102087)
4 years, 5 months ago (2016-07-12 07:00:24 UTC) #16
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/2142753002/20001
4 years, 5 months ago (2016-07-12 07:49:27 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/260794)
4 years, 5 months ago (2016-07-12 08:08:36 UTC) #20
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/2142753002/20001
4 years, 5 months ago (2016-07-12 09:23:36 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/191153)
4 years, 5 months ago (2016-07-12 11:52:10 UTC) #24
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/2142753002/20001
4 years, 5 months ago (2016-07-13 00:07:36 UTC) #26
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-13 02:43:46 UTC) #27
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 02:44:13 UTC) #28
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 02:45:48 UTC) #30
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d1d739c3a4cd78b3a4aa5a8a6ebf313df2dca1e3
Cr-Commit-Position: refs/heads/master@{#404924}

Powered by Google App Engine
This is Rietveld 408576698