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

Unified Diff: Source/core/layout/LayoutTreeAsText.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/layout/LayoutObject.cpp ('k') | Source/core/layout/TextAutosizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTreeAsText.cpp
diff --git a/Source/core/layout/LayoutTreeAsText.cpp b/Source/core/layout/LayoutTreeAsText.cpp
index f195d11851fe94ab89360d27e1dad2d0c6cb3c54..de3f219d340412870c89c9d92741e3e14bdd75c6 100644
--- a/Source/core/layout/LayoutTreeAsText.cpp
+++ b/Source/core/layout/LayoutTreeAsText.cpp
@@ -37,6 +37,8 @@
#include "core/html/HTMLElement.h"
#include "core/layout/Layer.h"
#include "core/layout/LayoutDetailsMarker.h"
+#include "core/layout/LayoutListItem.h"
+#include "core/layout/LayoutListMarker.h"
#include "core/layout/LayoutPart.h"
#include "core/layout/LayoutTableCell.h"
#include "core/layout/compositing/CompositedLayerMapping.h"
@@ -52,8 +54,6 @@
#include "core/page/PrintContext.h"
#include "core/rendering/RenderFileUploadControl.h"
#include "core/rendering/RenderInline.h"
-#include "core/rendering/RenderListItem.h"
-#include "core/rendering/RenderListMarker.h"
#include "core/rendering/RenderView.h"
#include "wtf/HexNumber.h"
#include "wtf/Vector.h"
@@ -326,7 +326,7 @@ void LayoutTreeAsText::writeLayoutObject(TextStream& ts, const LayoutObject& o,
}
if (o.isListMarker()) {
- String text = toRenderListMarker(o).text();
+ String text = toLayoutListMarker(o).text();
if (!text.isEmpty()) {
if (text.length() != 1) {
text = quoteAndEscapeNonPrintables(text);
@@ -783,7 +783,7 @@ String markerTextForListItem(Element* element)
if (!renderer || !renderer->isListItem())
return String();
- return toRenderListItem(renderer)->markerText();
+ return toLayoutListItem(renderer)->markerText();
}
} // namespace blink
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/layout/TextAutosizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698