Index: Source/core/rendering/RenderBlockFlow.cpp |
diff --git a/Source/core/rendering/RenderBlockFlow.cpp b/Source/core/rendering/RenderBlockFlow.cpp |
index 53135d4d80a8e3c61b1390a16348f3e9eea4bf64..d05eed6c0c8a586fdcc9c337b061c73bb561ae8b 100644 |
--- a/Source/core/rendering/RenderBlockFlow.cpp |
+++ b/Source/core/rendering/RenderBlockFlow.cpp |
@@ -858,7 +858,7 @@ void RenderBlockFlow::rebuildFloatsFromIntruding() |
floatMap.remove(floatingObject->renderer()); |
if (oldFloatingObject->originatingLine() && !selfNeedsLayout()) { |
- ASSERT(oldFloatingObject->originatingLine()->renderer() == this); |
+ ASSERT(&oldFloatingObject->originatingLine()->renderer() == this); |
oldFloatingObject->originatingLine()->markDirty(); |
} |
delete oldFloatingObject; |
@@ -2290,7 +2290,7 @@ void RenderBlockFlow::removeFloatingObject(RenderBox* floatBox) |
} |
if (floatingObject->originatingLine()) { |
if (!selfNeedsLayout()) { |
- ASSERT(floatingObject->originatingLine()->renderer() == this); |
+ ASSERT(&floatingObject->originatingLine()->renderer() == this); |
floatingObject->originatingLine()->markDirty(); |
} |
#if !ASSERT_DISABLED |
@@ -2810,7 +2810,7 @@ TextRun RenderBlockFlow::constructTextRun(RenderObject* context, const Font& fon |
RootInlineBox* RenderBlockFlow::createRootInlineBox() |
{ |
- return new RootInlineBox(this); |
+ return new RootInlineBox(*this); |
} |
void RenderBlockFlow::createMultiColumnFlowThreadIfNeeded() |