| Index: content/test/layouttest_support.cc
|
| diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
|
| index fefd00efdf062bb27b479e32d044f8641eb3f324..2b1c4ec077072ed007e8ad4f69a0cbb34850d546 100644
|
| --- a/content/test/layouttest_support.cc
|
| +++ b/content/test/layouttest_support.cc
|
| @@ -60,6 +60,7 @@
|
| #elif defined(OS_WIN)
|
| #include "content/child/font_warmup_win.h"
|
| #include "third_party/WebKit/public/web/win/WebFontRendering.h"
|
| +#include "third_party/skia/include/core/SkRefCnt.h"
|
| #include "third_party/skia/include/ports/SkFontMgr.h"
|
| #include "third_party/skia/include/ports/SkTypeface_win.h"
|
| #include "ui/gfx/win/direct_write.h"
|
| @@ -435,7 +436,7 @@ void EnableRendererLayoutTestMode() {
|
| base::MakeUnique<LayoutTestDependenciesImpl>());
|
|
|
| #if defined(OS_WIN)
|
| - RegisterSideloadedTypefaces(SkFontMgr_New_DirectWrite());
|
| + RegisterSideloadedTypefaces(SkFontMgr_New_DirectWrite().get());
|
| #endif
|
| }
|
|
|
|
|