1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:37:44 +00:00

LibWeb: Remove now-unused Bindings::Wrapper class

This commit is contained in:
Andreas Kling 2022-09-04 17:09:45 +02:00
parent 3768743a0a
commit 39660a8680
8 changed files with 1 additions and 48 deletions

View file

@ -1,18 +0,0 @@
/*
* Copyright (c) 2020-2022, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/Bindings/Wrapper.h>
namespace Web::Bindings {
Wrapper::Wrapper(Object& prototype)
: PlatformObject(prototype)
{
}
Wrapper::~Wrapper() = default;
}

View file

@ -1,25 +0,0 @@
/*
* Copyright (c) 2020-2022, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Weakable.h>
#include <LibWeb/Bindings/PlatformObject.h>
#include <LibWeb/Forward.h>
namespace Web::Bindings {
class Wrapper : public PlatformObject {
WEB_PLATFORM_OBJECT(Wrapper, PlatformObject);
public:
virtual ~Wrapper() override;
protected:
explicit Wrapper(Object& prototype);
};
}

View file

@ -17,7 +17,6 @@ set(SOURCES
Bindings/PlatformObject.cpp
Bindings/WindowConstructor.cpp
Bindings/WindowProxy.cpp
Bindings/Wrapper.cpp
Crypto/Crypto.cpp
Crypto/SubtleCrypto.cpp
CSS/Angle.cpp

View file

@ -7,7 +7,6 @@
#include <AK/FlyString.h>
#include <LibJS/Runtime/TypedArray.h>
#include <LibWeb/Bindings/IDLAbstractOperations.h>
#include <LibWeb/Bindings/Wrapper.h>
#include <LibWeb/Encoding/TextDecoder.h>
#include <LibWeb/HTML/Window.h>

View file

@ -6,7 +6,6 @@
#include <AK/FlyString.h>
#include <LibJS/Runtime/TypedArray.h>
#include <LibWeb/Bindings/Wrapper.h>
#include <LibWeb/Encoding/TextEncoder.h>
#include <LibWeb/HTML/Window.h>

View file

@ -10,6 +10,7 @@
#include <AK/NonnullRefPtr.h>
#include <AK/RefCounted.h>
#include <LibJS/Forward.h>
#include <LibWeb/Bindings/PlatformObject.h>
#include <LibWeb/Forward.h>
namespace Web::Encoding {

View file

@ -5,7 +5,6 @@
*/
#include <LibWeb/Bindings/MainThreadVM.h>
#include <LibWeb/Bindings/Wrapper.h>
#include <LibWeb/DOM/Document.h>
#include <LibWeb/DOM/HTMLCollection.h>
#include <LibWeb/HTML/BrowsingContext.h>

View file

@ -4,7 +4,6 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/Bindings/Wrapper.h>
#include <LibWeb/DOM/Document.h>
#include <LibWeb/HTML/HTMLCanvasElement.h>
#include <LibWeb/HTML/Window.h>