| Index: third_party/WebKit/Source/core/html/HTMLLIElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLLIElement.cpp b/third_party/WebKit/Source/core/html/HTMLLIElement.cpp
|
| index 2724d976b29ac888f4d62085f6a98d037275f30d..e0f41d685904cfb939b3e2acc1619378f9437afe 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLLIElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLLIElement.cpp
|
| @@ -96,7 +96,6 @@ void HTMLLIElement::attach(const AttachContext& context)
|
| HTMLElement::attach(context);
|
|
|
| if (layoutObject() && layoutObject()->isListItem()) {
|
| - LayoutLIItem liLayoutItem = LayoutLIItem(toLayoutListItem(layoutObject()));
|
|
|
| ASSERT(!document().childNeedsDistributionRecalc());
|
|
|
| @@ -111,11 +110,6 @@ void HTMLLIElement::attach(const AttachContext& context)
|
| listNode = current;
|
| }
|
|
|
| - // If we are not in a list, tell the layoutObject so it can position us inside.
|
| - // We don't want to change our style to say "inside" since that would affect nested nodes.
|
| - if (!listNode)
|
| - liLayoutItem.setNotInList(true);
|
| -
|
| parseValue(fastGetAttribute(valueAttr));
|
| }
|
| }
|
|
|