mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibPDF: Move inline function definition
This breaks the dependency cycle between Parser and Document.
This commit is contained in:
parent
edc0cd29f8
commit
da170997d5
Notes:
sideshowbarker
2024-07-18 03:37:08 +09:00
Author: https://github.com/BenWiederhake
Commit: da170997d5
Pull-request: https://github.com/SerenityOS/serenity/pull/10080
Reviewed-by: https://github.com/alimpfard
2 changed files with 6 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue