Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(361)

Unified Diff: Source/platform/fonts/linux/FontPlatformDataLinux.cpp

Issue 468443002: Cleanup namespace usage in platform/fonts/. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleanup namespace usage in platform/fonts/. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « Source/platform/fonts/linux/FontCacheLinux.cpp ('k') | Source/platform/fonts/mac/FontCustomPlatformDataMac.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698