Index: Source/core/rendering/RenderFlowThread.cpp |
diff --git a/Source/core/rendering/RenderFlowThread.cpp b/Source/core/rendering/RenderFlowThread.cpp |
index f00c500640b9c868e36e744e6755b262ef536350..e72ec8ae0215c339df9422293adb2004d8655a7c 100644 |
--- a/Source/core/rendering/RenderFlowThread.cpp |
+++ b/Source/core/rendering/RenderFlowThread.cpp |
@@ -211,7 +211,7 @@ void RenderFlowThread::repaintRectangleInRegions(const LayoutRect& repaintRect) |
if (!shouldRepaint(repaintRect) || !hasValidRegionInfo()) |
return; |
- LayoutStateDisabler layoutStateDisabler(view()); // We can't use layout state to repaint, since the regions are somewhere else. |
+ LayoutStateDisabler layoutStateDisabler(*this); // We can't use layout state to repaint, since the regions are somewhere else. |
// We can't use currentFlowThread as it is possible to have interleaved flow threads and the wrong one could be used. |
// Let each region figure out the proper enclosing flow thread. |
@@ -566,7 +566,7 @@ const RenderBox* RenderFlowThread::currentStatePusherRenderBox() const |
return 0; |
} |
-void RenderFlowThread::pushFlowThreadLayoutState(const RenderObject* object) |
+void RenderFlowThread::pushFlowThreadLayoutState(const RenderObject& object) |
{ |
if (const RenderBox* currentBoxDescendant = currentStatePusherRenderBox()) { |
LayoutState* layoutState = currentBoxDescendant->view()->layoutState(); |
@@ -577,7 +577,7 @@ void RenderFlowThread::pushFlowThreadLayoutState(const RenderObject* object) |
} |
} |
- m_statePusherObjectsStack.add(object); |
+ m_statePusherObjectsStack.add(&object); |
} |
void RenderFlowThread::popFlowThreadLayoutState() |