Chromium Code Reviews| Index: Source/core/layout/LayoutObjectChildList.cpp |
| diff --git a/Source/core/layout/LayoutObjectChildList.cpp b/Source/core/layout/LayoutObjectChildList.cpp |
| index bcccbc081c0f36bbca307764c7ef40b7d8fcc7f2..973a7d63096c8e7a4a3881d00f8dc97c3d9ada8a 100644 |
| --- a/Source/core/layout/LayoutObjectChildList.cpp |
| +++ b/Source/core/layout/LayoutObjectChildList.cpp |
| @@ -28,6 +28,7 @@ |
| #include "core/layout/LayoutObjectChildList.h" |
| #include "core/dom/AXObjectCache.h" |
| +#include "core/dom/MarkerPseudoElement.h" |
| #include "core/layout/LayoutCounter.h" |
| #include "core/layout/LayoutObject.h" |
| #include "core/layout/LayoutView.h" |
| @@ -39,6 +40,9 @@ namespace blink { |
| void LayoutObjectChildList::destroyLeftoverChildren() |
| { |
| while (firstChild()) { |
| + // RuntimeEnabledFeatures::listMarkerPseudoElementEnabled |
|
esprehn
2015/04/22 07:45:46
??
dsinclair
2015/04/22 20:00:39
I need to update this comment when we remove the o
|
| + // List markers are owned by the list marker pseudo element adn so don't get destroyed by this container. |
|
esprehn
2015/04/22 07:45:46
typo.
dsinclair
2015/04/22 20:00:39
Done.
|
| + // else |
|
esprehn
2015/04/22 07:45:46
huh?
dsinclair
2015/04/22 20:00:39
Ditto.
|
| // List markers are owned by their enclosing list and so don't get destroyed by this container. |
| if (firstChild()->isListMarker()) { |
| firstChild()->remove(); |