Skip to content

Commit c883280

Browse files
nicotrflynn89
authored andcommitted
LibGfx+Tests: Remove code unnecessary after 9e7c16d
1 parent bea3f3f commit c883280

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

Tests/LibGfx/BenchmarkGfxPainter.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@
1111
#include <LibGfx/Painter.h>
1212
#include <stdio.h>
1313

14-
// Make sure that no matter what order tests are run in, we've got some
15-
// default fonts for the application to use without talking to WindowServer
16-
static struct FontDatabaseSpoofer {
17-
FontDatabaseSpoofer()
18-
{
19-
Gfx::FontDatabase::the().set_default_font_query("Katica 10 400 0"sv);
20-
}
21-
} g_spoof;
22-
2314
BENCHMARK_CASE(diagonal_lines)
2415
{
2516
int const run_count = 50;

Userland/Libraries/LibGfx/Painter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include "Bitmap.h"
1515
#include "Font/Emoji.h"
1616
#include "Font/Font.h"
17-
#include "Font/FontDatabase.h"
1817
#include "Gamma.h"
1918
#include <AK/Assertions.h>
2019
#include <AK/Debug.h>

0 commit comments

Comments
 (0)