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

Issue 2365463004: Revert of Clear LifecycleObserver::m_context when LifecycleObserver::contextDestroyed gets called (Closed)

Created:
4 years, 3 months ago by dcheng
Modified:
4 years, 3 months ago
Reviewers:
haraken, Will Harris
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Clear LifecycleObserver::m_context when LifecycleObserver::contextDestroyed gets called (patchset #11 id:200001 of https://codereview.chromium.org/2317483005/ ) Reason for revert: Speculatively reverting for https://crbug.com/649272 Original issue's description: > Clear LifecycleObserver::m_context when LifecycleObserver::contextDestroyed gets called > > This CL clears LifecycleObserver::m_context when LifecycleObserver::contextDestroyed gets called. > This means that LifecycleObserver::context() starts returning false after the context gets destroyed. > > The new behavior makes a lot of more sense, but the problem is that some existing code is assuming that > LifecycleObserver::context() keeps returning the context even after the context gets destroyed. > This CL fixed the problematic code to make all layout tests pass, but I'm not sure if I've updated all of the problematic code > (because the coverage of the layout tests is not sufficient). > However, the worst thing that can happen is that code that had been assuming that LifecycleObserver::context() > returns a context even after the context gets destroyed will stop working (it may cause a null-deref crash). > I think the risk is low. > > BUG=610176 > > Committed: https://crrev.com/b729a998b05ec916731171d59de95e0aea31bbac > Cr-Commit-Position: refs/heads/master@{#419951} TBR=haraken@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=610176, 649272 NOTRY=true Committed: https://crrev.com/04b1826356a37de2a322e7e6e0e80f07d05f210f Cr-Commit-Position: refs/heads/master@{#420498}

Patch Set 1 #

Messages

Total messages: 20 (9 generated)
dcheng
Created Revert of Clear LifecycleObserver::m_context when LifecycleObserver::contextDestroyed gets called
4 years, 3 months ago (2016-09-22 18:46:30 UTC) #2
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/2365463004/1
4 years, 3 months ago (2016-09-22 18:47:06 UTC) #3
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/297941)
4 years, 3 months ago (2016-09-22 22:49:26 UTC) #6
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/2365463004/1
4 years, 3 months ago (2016-09-22 23:02:36 UTC) #8
Will Harris
webkit test failure seem like a flake e.g. I see same tests failing on other ...
4 years, 3 months ago (2016-09-22 23:13:06 UTC) #9
Will Harris
spoke to dcheng and there is consensus this should be safe to land, so landing.
4 years, 3 months ago (2016-09-22 23:18:11 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/2365463004/1
4 years, 3 months ago (2016-09-22 23:19:05 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-22 23:24:46 UTC) #16
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/04b1826356a37de2a322e7e6e0e80f07d05f210f Cr-Commit-Position: refs/heads/master@{#420498}
4 years, 3 months ago (2016-09-22 23:28:31 UTC) #18
haraken
LGTM to revert
4 years, 3 months ago (2016-09-22 23:33:28 UTC) #19
haraken
4 years, 3 months ago (2016-09-23 12:09:51 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2367753002/ by haraken@chromium.org.

The reason for reverting is: Relanding this CL because the fix to the original
crash has been landed in https://codereview.chromium.org/2364693005/
.

Powered by Google App Engine
This is Rietveld 408576698