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 1f43d31cb87794cf82e6fc7251a7c3dbb67e9b59..b036f708e1454b011267411f2dc3e33eb38df32f 100644 |
--- a/third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/linux/FontPlatformDataLinux.cpp |
@@ -41,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(toSkSp(m_typeface)); |
+ paint->setTypeface(m_typeface); |
paint->setFakeBoldText(m_syntheticBold); |
paint->setTextSkewX(m_syntheticItalic ? -SK_Scalar1 / 4 : 0); |
} |