mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-02 09:18:52 +00:00
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
24 lines
376 B
C++
24 lines
376 B
C++
/*
|
|
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibWeb/Bindings/Wrappable.h>
|
|
#include <LibWeb/Bindings/Wrapper.h>
|
|
|
|
namespace Web {
|
|
namespace Bindings {
|
|
|
|
Wrappable::~Wrappable()
|
|
{
|
|
}
|
|
|
|
void Wrappable::set_wrapper(Wrapper& wrapper)
|
|
{
|
|
VERIFY(!m_wrapper);
|
|
m_wrapper = wrapper.make_weak_ptr();
|
|
}
|
|
|
|
}
|
|
}
|