ladybird/Libraries/LibHTML/Layout/LayoutTreeBuilder.h
Andreas Kling f7cd5662ef LibHTML: Move layout tree building to a LayoutTreeBuilder class
Building a whole layout tree shouldn't be a concern of Node, so this
patch moves it to a separate class.
2019-10-15 14:24:26 +02:00

13 lines
169 B
C++

#pragma once
#include <AK/RefPtr.h>
class Node;
class LayoutNode;
class LayoutTreeBuilder {
public:
LayoutTreeBuilder();
RefPtr<LayoutNode> build(Node&);
};