| Index: third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp b/third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp
|
| index ab507c9d3c5456745dc5c7578dd7ed5387112e90..1f43d31cb87794cf82e6fc7251a7c3dbb67e9b59 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp
|
| @@ -29,6 +29,7 @@
|
| */
|
|
|
| #include "platform/fonts/FontPlatformData.h"
|
| +#include "platform/graphics/skia/SkiaUtils.h"
|
|
|
| #include "SkTypeface.h"
|
|
|
| @@ -40,7 +41,7 @@ void FontPlatformData::setupPaint(SkPaint* paint, float deviceScaleFactor, const
|
|
|
| const float ts = m_textSize >= 0 ? m_textSize : 12;
|
| paint->setTextSize(SkFloatToScalar(ts));
|
| - paint->setTypeface(m_typeface.get());
|
| + paint->setTypeface(toSkSp(m_typeface));
|
| paint->setFakeBoldText(m_syntheticBold);
|
| paint->setTextSkewX(m_syntheticItalic ? -SK_Scalar1 / 4 : 0);
|
| }
|
|
|