1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 07:25:07 +00:00

LibHTML: Create some subdirectories.

This commit is contained in:
Andreas Kling 2019-06-15 23:41:15 +02:00
parent 0522a8f71c
commit 1f51c2b7da
25 changed files with 49 additions and 50 deletions

View file

@ -1,34 +0,0 @@
#include <LibHTML/Node.h>
#include <LibHTML/LayoutNode.h>
Node::Node(NodeType type)
: m_type(type)
{
}
Node::~Node()
{
}
void Node::retain()
{
ASSERT(m_retain_count);
++m_retain_count;
}
void Node::release()
{
ASSERT(m_retain_count);
if (!--m_retain_count)
delete this;
}
RetainPtr<LayoutNode> Node::create_layout_node()
{
return nullptr;
}
void Node::set_layout_node(Retained<LayoutNode> layout_node)
{
m_layout_node = move(layout_node);
}