flutter_flutter/engine/core/rendering/RenderParagraph.cpp
Rafael Weinstein acf6d9f29d setChildrenInline wasn't doing anything and childrenInlien always deferred to isRenderParagraph.
Also, add a test from the original webkit patch that called setChildrenInline in layoutBlock

R=ojan@chromium.org

Review URL: https://codereview.chromium.org/748943002
2014-11-21 15:16:58 -08:00

27 lines
623 B
C++

// 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 "sky/engine/config.h"
#include "sky/engine/core/rendering/RenderParagraph.h"
namespace blink {
RenderParagraph::RenderParagraph(ContainerNode* node)
: RenderBlockFlow(node)
{
}
RenderParagraph::~RenderParagraph()
{
}
RenderParagraph* RenderParagraph::createAnonymous(Document& document)
{
RenderParagraph* renderer = new RenderParagraph(0);
renderer->setDocumentForAnonymous(&document);
return renderer;
}
} // namespace blink