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

Unified Diff: Source/core/layout/line/InlineBox.cpp

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/line/InlineBox.h ('k') | Source/core/layout/line/InlineFlowBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/line/InlineBox.cpp
diff --git a/Source/core/layout/line/InlineBox.cpp b/Source/core/layout/line/InlineBox.cpp
index 80e773337388d39133f457397aac3949919791a9..2de5443f60b6c4def95e2829cf4813e29aeea966 100644
--- a/Source/core/layout/line/InlineBox.cpp
+++ b/Source/core/layout/line/InlineBox.cpp
@@ -20,12 +20,12 @@
#include "config.h"
#include "core/layout/line/InlineBox.h"
+#include "core/layout/LayoutObject.h"
#include "core/layout/line/InlineFlowBox.h"
#include "core/layout/line/RootInlineBox.h"
#include "core/paint/BlockPainter.h"
#include "core/rendering/PaintInfo.h"
#include "core/rendering/RenderBlockFlow.h"
-#include "core/rendering/RenderObjectInlines.h"
#include "platform/Partitions.h"
#include "platform/fonts/FontMetrics.h"
@@ -90,7 +90,7 @@ void InlineBox::showLineTreeForThis() const
renderer().containingBlock()->showLineTreeAndMark(this, "*");
}
-void InlineBox::showLineTreeAndMark(const InlineBox* markedBox1, const char* markedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const RenderObject* obj, int depth) const
+void InlineBox::showLineTreeAndMark(const InlineBox* markedBox1, const char* markedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const LayoutObject* obj, int depth) const
{
int printedCharacters = 0;
if (this == markedBox1)
@@ -278,7 +278,7 @@ InlineBox* InlineBox::prevLeafChildIgnoringLineBreak() const
return leaf;
}
-RenderObject::SelectionState InlineBox::selectionState() const
+LayoutObject::SelectionState InlineBox::selectionState() const
{
return renderer().selectionState();
}
« no previous file with comments | « Source/core/layout/line/InlineBox.h ('k') | Source/core/layout/line/InlineFlowBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698