mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 10:12:25 -05:00
41c4cc95e4
`Rule::to_deprecated_string()` and `DeclarationOrAtRule::to_deprecated_string()` are not used anywhere, so we can just delete them.
27 lines
623 B
C++
27 lines
623 B
C++
/*
|
|
* Copyright (c) 2020-2021, the SerenityOS developers.
|
|
* Copyright (c) 2021-2023, Sam Atkins <atkinssj@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibWeb/CSS/Parser/DeclarationOrAtRule.h>
|
|
#include <LibWeb/CSS/Parser/Function.h>
|
|
|
|
namespace Web::CSS::Parser {
|
|
|
|
DeclarationOrAtRule::DeclarationOrAtRule(RefPtr<Rule> at)
|
|
: m_type(DeclarationType::At)
|
|
, m_at(move(at))
|
|
{
|
|
}
|
|
|
|
DeclarationOrAtRule::DeclarationOrAtRule(Declaration declaration)
|
|
: m_type(DeclarationType::Declaration)
|
|
, m_declaration(move(declaration))
|
|
{
|
|
}
|
|
|
|
DeclarationOrAtRule::~DeclarationOrAtRule() = default;
|
|
|
|
}
|