Index: third_party/WebKit/Source/platform/fonts/SimpleFontData.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/SimpleFontData.cpp b/third_party/WebKit/Source/platform/fonts/SimpleFontData.cpp |
index 33c66ce31cfd02e8763f2318b4c145b209e3b25f..f03f078b8837ce473069db8a7cba083a3ffc74a7 100644 |
--- a/third_party/WebKit/Source/platform/fonts/SimpleFontData.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/SimpleFontData.cpp |
@@ -65,7 +65,7 @@ SimpleFontData::SimpleFontData(const FontPlatformData& platformData, |
m_isTextOrientationFallback(isTextOrientationFallback), |
m_verticalData(nullptr), |
m_hasVerticalGlyphs(false), |
- m_customFontData(customData) { |
+ m_customFontData(std::move(customData)) { |
platformInit(subpixelAscentDescent); |
platformGlyphInit(); |
if (platformData.isVerticalAnyUpright() && !isTextOrientationFallback) { |
@@ -84,7 +84,7 @@ SimpleFontData::SimpleFontData(PassRefPtr<CustomFontData> customData, |
m_isTextOrientationFallback(false), |
m_verticalData(nullptr), |
m_hasVerticalGlyphs(false), |
- m_customFontData(customData) {} |
+ m_customFontData(std::move(customData)) {} |
void SimpleFontData::platformInit(bool subpixelAscentDescent) { |
if (!m_platformData.size()) { |