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

Issue 1886763003: parent->addChild() can delete parent and any of its siblings (Closed)

Created:
4 years, 8 months ago by robhogan (do not use)
Modified:
4 years, 8 months ago
Reviewers:
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@2704
Target Ref:
refs/pending/branch-heads/2704
Project:
chromium
Visibility:
Public.

Description

parent->addChild() can delete parent and any of its siblings Once you call parent->addChild() your pointers to parent and any floating or out-of-flow siblings it has are no longer safe. BUG=602271 Review URL: https://codereview.chromium.org/1879553003 Cr-Commit-Position: refs/heads/master@{#386827} (cherry picked from commit 741853f64fe49635e5b02b641b3799bdeacec37f) Committed: https://chromium.googlesource.com/chromium/src/+/bdaff5b6a0ca169b95cedd9d3ba0b4e5f971ff4a

Patch Set 1 #

Messages

Total messages: 1 (1 generated)
robhogan (do not use)
4 years, 8 months ago (2016-04-13 18:35:45 UTC) #1
Description was changed from

==========
parent->addChild() can delete parent and any of its siblings

Once you call parent->addChild() your pointers to parent and any floating or
out-of-flow siblings it has are no longer safe.

BUG=602271

Review URL: https://codereview.chromium.org/1879553003

Cr-Commit-Position: refs/heads/master@{#386827}
(cherry picked from commit 741853f64fe49635e5b02b641b3799bdeacec37f)
==========

to

==========
parent->addChild() can delete parent and any of its siblings

Once you call parent->addChild() your pointers to parent and any floating or
out-of-flow siblings it has are no longer safe.

BUG=602271

Review URL: https://codereview.chromium.org/1879553003

Cr-Commit-Position: refs/heads/master@{#386827}
(cherry picked from commit 741853f64fe49635e5b02b641b3799bdeacec37f)

Committed:
https://chromium.googlesource.com/chromium/src/+/bdaff5b6a0ca169b95cedd9d3ba0...
==========

Powered by Google App Engine
This is Rietveld 408576698