Index: sky/engine/core/rendering/RenderParagraph.cpp |
diff --git a/sky/engine/core/rendering/RenderParagraph.cpp b/sky/engine/core/rendering/RenderParagraph.cpp |
index 2b04a7efa973d1f46cea2bd965ddbe07292be733..f86da9bc6fa0b9cbbde7dd89b61c712b9c6c599b 100644 |
--- a/sky/engine/core/rendering/RenderParagraph.cpp |
+++ b/sky/engine/core/rendering/RenderParagraph.cpp |
@@ -45,13 +45,6 @@ const char* RenderParagraph::renderName() const |
return "RenderParagraph"; |
} |
-RenderParagraph* RenderParagraph::createAnonymous(Document& document) |
-{ |
- RenderParagraph* renderer = new RenderParagraph(0); |
- renderer->setDocumentForAnonymous(&document); |
- return renderer; |
-} |
- |
LayoutUnit RenderParagraph::logicalLeftSelectionOffset(RenderBlock* rootBlock, LayoutUnit position) |
{ |
LayoutUnit logicalLeft = logicalLeftOffsetForLine(false); |