Skip to content

Commit

Permalink
Eliminate some unneeded header inclusions
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=149343

Reviewed by Tim Nguyen.

Credits: Emanuele Aina  <emanuele.aina@collabora.com>

This patch removes unneeded headers from two files and redundant class from another.

* Source/WebCore/platform/graphics/texmap/TextureMapper.h: Remove `GraphicsLayer` class
* Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:
* Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.h:

Canonical link: https://commits.webkit.org/275294@main
  • Loading branch information
Ahmad-S792 authored and Ahmad Saleem committed Feb 25, 2024
1 parent 84d3b09 commit 36e27ea
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion Source/WebCore/platform/graphics/texmap/TextureMapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@

namespace WebCore {

class GraphicsLayer;
class TextureMapperGLData;
class TextureMapperShaderProgram;
class FilterOperations;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include <WebCore/NicosiaContentLayer.h>
#include <WebCore/NicosiaImageBacking.h>
#include <WebCore/NicosiaScene.h>
#include <WebCore/TextureMapperBackingStore.h>
#include <WebCore/TextureMapperLayer.h>
#include <wtf/Atomics.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,14 @@

#if USE(COORDINATED_GRAPHICS)

#include <WebCore/GraphicsContext.h>
#include <WebCore/GraphicsLayer.h>
#include <WebCore/IntRect.h>
#include <WebCore/IntSize.h>
#include <WebCore/NicosiaImageBackingStore.h>
#include <WebCore/NicosiaPlatformLayer.h>
#include <WebCore/NicosiaScene.h>
#include <WebCore/TextureMapper.h>
#include <WebCore/TextureMapperBackingStore.h>
#include <WebCore/TextureMapperFPSCounter.h>
#include <WebCore/TextureMapperLayer.h>
#include <WebCore/TextureMapperPlatformLayerProxy.h>
#include <WebCore/Timer.h>
#include <wtf/Function.h>
#include <wtf/HashSet.h>
#include <wtf/Lock.h>
Expand Down

0 comments on commit 36e27ea

Please sign in to comment.