Chromium Code Reviews| Index: third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp |
| diff --git a/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp b/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp |
| index e6f42cb4a1f9505f00dca43dee4d939932aa7e01..4e04a93877fd3ef5546b7d6a3cbc62e24e77410a 100644 |
| --- a/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp |
| +++ b/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp |
| @@ -131,7 +131,7 @@ FontPlatformData::FontPlatformData(const FontPlatformData& src, float textSize) |
| #endif |
| } |
| -FontPlatformData::FontPlatformData(PassRefPtr<SkTypeface> tf, |
| +FontPlatformData::FontPlatformData(sk_sp<SkTypeface> tf, |
| const char* family, float textSize, bool syntheticBold, |
| bool syntheticItalic, FontOrientation orientation) |
| : m_typeface(tf) |
|
f(malita)
2016/09/01 03:55:38
std::move(tf)
Łukasz Anforowicz
2016/09/01 20:50:57
Ooops - thanks for catching this. Done.
|