aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skqp/gm_runner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/skqp/gm_runner.cpp')
-rw-r--r--tools/skqp/gm_runner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/skqp/gm_runner.cpp b/tools/skqp/gm_runner.cpp
index 942c577cf3..778c2bc665 100644
--- a/tools/skqp/gm_runner.cpp
+++ b/tools/skqp/gm_runner.cpp
@@ -9,7 +9,7 @@
#include <algorithm>
-#include "../dm/DMFontMgr.h"
+#include "../tools/fonts/SkTestFontMgr.h"
#include "GrContext.h"
#include "GrContextOptions.h"
#include "SkFontMgrPriv.h"
@@ -243,7 +243,7 @@ std::tuple<float, Error> EvaluateGM(SkiaBackend backend,
void InitSkia(Mode mode, skqp::AssetManager* mgr) {
SkGraphics::Init();
- gSkFontMgr_DefaultFactory = &DM::MakeFontMgr;
+ gSkFontMgr_DefaultFactory = &sk_tool_utils::MakePortableFontMgr;
gMode = mode;
readlist(mgr, "skqp/DoNotScoreInCompatibilityTestMode.txt",