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

LibPDF: Move inline function definition

This breaks the dependency cycle between Parser and Document.
This commit is contained in:
Ben Wiederhake 2021-09-17 03:08:30 +02:00 committed by Ali Mohammad Pur
parent edc0cd29f8
commit da170997d5
2 changed files with 6 additions and 1 deletions

View file

@ -39,6 +39,11 @@ Parser::Parser(ReadonlyBytes const& bytes)
{
}
void Parser::set_document(RefPtr<Document> const& document)
{
m_document = document;
}
bool Parser::initialize()
{
if (!parse_header())