Index: sky/engine/core/rendering/RenderParagraph.cpp |
diff --git a/sky/engine/core/rendering/RenderParagraph.cpp b/sky/engine/core/rendering/RenderParagraph.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bd6e0e829bb0fca1fdfe13a80bcfe88d7cba55ac |
--- /dev/null |
+++ b/sky/engine/core/rendering/RenderParagraph.cpp |
@@ -0,0 +1,27 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "config.h" |
+#include "core/rendering/RenderParagraph.h" |
+ |
+namespace blink { |
+ |
+RenderParagraph::RenderParagraph(ContainerNode* node) |
+ : RenderBlockFlow(node) |
+{ |
+ setChildrenInline(true); |
+} |
+ |
+RenderParagraph::~RenderParagraph() |
+{ |
+} |
+ |
+RenderParagraph* RenderParagraph::createAnonymous(Document& document) |
+{ |
+ RenderParagraph* renderer = new RenderParagraph(0); |
+ renderer->setDocumentForAnonymous(&document); |
+ return renderer; |
+} |
+ |
+} // namespace blink |