| Index: Source/platform/fonts/linux/FontPlatformDataLinux.cpp
|
| diff --git a/Source/platform/fonts/linux/FontPlatformDataLinux.cpp b/Source/platform/fonts/linux/FontPlatformDataLinux.cpp
|
| index 90c6d68b15a704db807f22cc0f688ccba802b5b9..ce40b73d4fa2558e79c0e3e1bf8f1609f85855bf 100644
|
| --- a/Source/platform/fonts/linux/FontPlatformDataLinux.cpp
|
| +++ b/Source/platform/fonts/linux/FontPlatformDataLinux.cpp
|
| @@ -102,16 +102,16 @@ void FontPlatformData::setupPaint(SkPaint* paint, GraphicsContext* context)
|
|
|
| void FontPlatformData::querySystemForRenderStyle(bool useSkiaSubpixelPositioning)
|
| {
|
| - blink::WebFontRenderStyle style;
|
| + WebFontRenderStyle style;
|
| #if OS(ANDROID)
|
| style.setDefaults();
|
| #else
|
| // If the font name is missing (i.e. probably a web font) or the sandbox is disabled, use the system defaults.
|
| - if (!m_family.length() || !blink::Platform::current()->sandboxSupport()) {
|
| + if (!m_family.length() || !Platform::current()->sandboxSupport()) {
|
| style.setDefaults();
|
| } else {
|
| const int sizeAndStyle = (((int)m_textSize) << 2) | (m_typeface->style() & 3);
|
| - blink::Platform::current()->sandboxSupport()->getRenderStyleForStrike(m_family.data(), sizeAndStyle, &style);
|
| + Platform::current()->sandboxSupport()->getRenderStyleForStrike(m_family.data(), sizeAndStyle, &style);
|
| }
|
| #endif
|
| style.toFontRenderStyle(&m_style);
|
|
|