Skip to content

Commit ac246ca

Browse files
trflynn89awesomekling
authored andcommitted
LibWeb: Remove now-unused Resource and ResourceClient
And deal with the fallout of transitive includes.
1 parent 6057719 commit ac246ca

File tree

11 files changed

+12
-372
lines changed

11 files changed

+12
-372
lines changed

Libraries/LibWeb/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,6 @@ set(SOURCES
758758
Loader/GeneratedPagesLoader.cpp
759759
Loader/LoadRequest.cpp
760760
Loader/ProxyMappings.cpp
761-
Loader/Resource.cpp
762761
Loader/ResourceLoader.cpp
763762
MathML/AttributeNames.cpp
764763
MathML/MathMLElement.cpp

Libraries/LibWeb/CSS/StyleComputer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
#include <LibWeb/MimeSniff/MimeType.h>
9393
#include <LibWeb/MimeSniff/Resource.h>
9494
#include <LibWeb/Namespace.h>
95+
#include <LibWeb/Page/Page.h>
9596
#include <LibWeb/Painting/PaintableBox.h>
9697
#include <LibWeb/Platform/FontPlugin.h>
9798
#include <math.h>
@@ -3097,7 +3098,7 @@ void StyleComputer::compute_custom_properties(ComputedProperties&, DOM::Abstract
30973098
static CSSPixels line_width_keyword_to_css_pixels(Keyword keyword)
30983099
{
30993100
// https://drafts.csswg.org/css-backgrounds/#typedef-line-width
3100-
// The thin, medium, and thick keywords are equivalent to 1px, 3px, and 5px, respectively.
3101+
// The thin, medium, and thick keywords are equivalent to 1px, 3px, and 5px, respectively.
31013102
switch (keyword) {
31023103
case Keyword::Thin:
31033104
return CSSPixels { 1 };

Libraries/LibWeb/Loader/GeneratedPagesLoader.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <LibCore/Directory.h>
1111
#include <LibCore/Resource.h>
1212
#include <LibCore/System.h>
13+
#include <LibURL/URL.h>
1314
#include <LibWeb/Loader/GeneratedPagesLoader.h>
1415
#include <LibWeb/Loader/UserAgent.h>
1516

Libraries/LibWeb/Loader/GeneratedPagesLoader.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66

77
#pragma once
88

9-
#include <LibWeb/Export.h>
10-
#include <LibWeb/Fetch/Infrastructure/HTTP/Responses.h>
11-
#include <LibWeb/Loader/Resource.h>
9+
#include <LibURL/Forward.h>
10+
#include <LibWeb/Forward.h>
1211

1312
namespace Web {
1413

Libraries/LibWeb/Loader/Resource.cpp

Lines changed: 0 additions & 191 deletions
This file was deleted.

Libraries/LibWeb/Loader/Resource.h

Lines changed: 0 additions & 110 deletions
This file was deleted.

0 commit comments

Comments
 (0)