Index: Source/WebCore/rendering/RenderObject.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderObject.cpp (revision 122239) |
+++ Source/WebCore/rendering/RenderObject.cpp (working copy) |
@@ -2155,21 +2155,6 @@ |
return true; |
} |
-Node* RenderObject::styledGeneratingNode() const |
-{ |
- Node* node = generatingNode(); |
- if (node) |
- return node; |
- |
- for (RenderObject* object = parent(); object; object = object->parent()) { |
- if (Node* node = object->generatingNode()) |
- return node; |
- } |
- |
- ASSERT_NOT_REACHED(); |
- return 0; |
-} |
- |
RenderObject* RenderObject::rendererForRootBackground() |
{ |
ASSERT(isRoot()); |