Index: Source/WebCore/rendering/RenderObject.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderObject.cpp (revision 97085) |
+++ Source/WebCore/rendering/RenderObject.cpp (working copy) |
@@ -381,7 +381,7 @@ |
return o; |
} |
-RenderObject* RenderObject::nextInPreOrder(RenderObject* stayWithin) const |
+RenderObject* RenderObject::nextInPreOrder(const RenderObject* stayWithin) const |
{ |
if (RenderObject* o = firstChild()) |
return o; |
@@ -389,7 +389,7 @@ |
return nextInPreOrderAfterChildren(stayWithin); |
} |
-RenderObject* RenderObject::nextInPreOrderAfterChildren(RenderObject* stayWithin) const |
+RenderObject* RenderObject::nextInPreOrderAfterChildren(const RenderObject* stayWithin) const |
{ |
if (this == stayWithin) |
return 0; |