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

Unified Diff: Source/core/html/HTMLLIElement.cpp

Issue 931423003: Rename rendering/RenderList* to layout/LayoutList* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove spurious LayoutLayerModelObject reference Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/html/HTMLOListElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLLIElement.cpp
diff --git a/Source/core/html/HTMLLIElement.cpp b/Source/core/html/HTMLLIElement.cpp
index e920fef700faef8e9cdee534c3e70fc77a181009..b67831b45274f4f75d29b537e644475835bbfe88 100644
--- a/Source/core/html/HTMLLIElement.cpp
+++ b/Source/core/html/HTMLLIElement.cpp
@@ -27,7 +27,7 @@
#include "core/CSSValueKeywords.h"
#include "core/HTMLNames.h"
#include "core/dom/NodeRenderingTraversal.h"
-#include "core/rendering/RenderListItem.h"
+#include "core/layout/LayoutListItem.h"
namespace blink {
@@ -80,7 +80,7 @@ void HTMLLIElement::attach(const AttachContext& context)
HTMLElement::attach(context);
if (renderer() && renderer()->isListItem()) {
- RenderListItem* listItemRenderer = toRenderListItem(renderer());
+ LayoutListItem* listItemLayoutObject = toLayoutListItem(renderer());
ASSERT(!document().childNeedsDistributionRecalc());
@@ -98,7 +98,7 @@ void HTMLLIElement::attach(const AttachContext& context)
// If we are not in a list, tell the renderer 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)
- listItemRenderer->setNotInList(true);
+ listItemLayoutObject->setNotInList(true);
parseValue(fastGetAttribute(valueAttr));
}
@@ -111,9 +111,9 @@ inline void HTMLLIElement::parseValue(const AtomicString& value)
bool valueOK;
int requestedValue = value.toInt(&valueOK);
if (valueOK)
- toRenderListItem(renderer())->setExplicitValue(requestedValue);
+ toLayoutListItem(renderer())->setExplicitValue(requestedValue);
else
- toRenderListItem(renderer())->clearExplicitValue();
+ toLayoutListItem(renderer())->clearExplicitValue();
}
}
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/html/HTMLOListElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698