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

Unified Diff: Source/platform/fonts/linux/FontCacheLinux.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/FontCacheLinux.cpp
diff --git a/Source/platform/fonts/linux/FontCacheLinux.cpp b/Source/platform/fonts/linux/FontCacheLinux.cpp
index 91d88aee97584b4e1ff2ba302522c15b608b4f33..252f980b15d2dcf93a64e5c70c7c930e36fa9110 100644
--- a/Source/platform/fonts/linux/FontCacheLinux.cpp
+++ b/Source/platform/fonts/linux/FontCacheLinux.cpp
@@ -36,11 +36,11 @@ namespace blink {
void FontCache::getFontForCharacter(UChar32 c, const char* preferredLocale, FontCache::PlatformFallbackFont* fallbackFont)
{
- blink::WebFallbackFont webFallbackFont;
- if (blink::Platform::current()->sandboxSupport())
- blink::Platform::current()->sandboxSupport()->getFallbackFontForCharacter(c, preferredLocale, &webFallbackFont);
+ WebFallbackFont webFallbackFont;
+ if (Platform::current()->sandboxSupport())
+ Platform::current()->sandboxSupport()->getFallbackFontForCharacter(c, preferredLocale, &webFallbackFont);
else
- blink::WebFontInfo::fallbackFontForChar(c, preferredLocale, &webFallbackFont);
+ WebFontInfo::fallbackFontForChar(c, preferredLocale, &webFallbackFont);
fallbackFont->name = String::fromUTF8(CString(webFallbackFont.name));
fallbackFont->filename = webFallbackFont.filename;
fallbackFont->fontconfigInterfaceId = webFallbackFont.fontconfigInterfaceId;
@@ -49,4 +49,4 @@ void FontCache::getFontForCharacter(UChar32 c, const char* preferredLocale, Font
fallbackFont->isItalic = webFallbackFont.isItalic;
}
-}
+} // namespace blink
« no previous file with comments | « Source/platform/fonts/harfbuzz/HarfBuzzFace.h ('k') | Source/platform/fonts/linux/FontPlatformDataLinux.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698