Index: Source/core/rendering/RenderInline.cpp |
diff --git a/Source/core/rendering/RenderInline.cpp b/Source/core/rendering/RenderInline.cpp |
index b5a16d69c7445e2bb440d7db479323cb767abf90..f4155f84e8cc6f1d80a29dd192fd38e07cab6fac 100644 |
--- a/Source/core/rendering/RenderInline.cpp |
+++ b/Source/core/rendering/RenderInline.cpp |
@@ -125,7 +125,8 @@ void RenderInline::updateFromStyle() |
{ |
RenderBoxModelObject::updateFromStyle(); |
- setInline(true); // Needed for run-ins, since run-in is considered a block display type. |
+ // FIXME: Is this still needed. Was needed for run-ins, since run-in is considered a block display type. |
+ setInline(true); |
// FIXME: Support transforms and reflections on inline flows someday. |
setHasTransform(false); |
@@ -750,8 +751,6 @@ const char* RenderInline::renderName() const |
return "RenderInline (generated)"; |
if (isAnonymous()) |
return "RenderInline (generated)"; |
- if (isRunIn()) |
- return "RenderInline (run-in)"; |
return "RenderInline"; |
} |
@@ -999,8 +998,7 @@ LayoutRect RenderInline::linesVisualOverflowBoundingBox() const |
LayoutRect RenderInline::clippedOverflowRectForRepaint(const RenderLayerModelObject* repaintContainer) const |
{ |
- // Only run-ins are allowed in here during layout. |
- ASSERT(!view() || !view()->layoutStateEnabled() || isRunIn()); |
+ ASSERT(!view() || !view()->layoutStateEnabled()); |
if (!firstLineBoxIncludingCulling() && !continuation()) |
return LayoutRect(); |